aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor/tests/ui/nonstatic_struct_elided.rs
blob: 4cfe2966ae79e4df23610e7c84cbc28f152dee12 (plain)
1
2
3
4
5
6
7
8
#![cfg_attr(feature = "nightly", feature(impl_trait_in_assoc_type))]

struct Foo<'a>(&'a ());

#[embassy_executor::task]
async fn task(_x: Foo) {}

fn main() {}