embassy/embassy-executor/tests/ui/nonstatic_struct_elided.rs

9 lines
161 B
Rust
Raw Normal View History

2024-10-20 21:48:58 +00:00
#![cfg_attr(feature = "nightly", feature(impl_trait_in_assoc_type))]
struct Foo<'a>(&'a ());
#[embassy_executor::task]
async fn task(_x: Foo) {}
fn main() {}