embassy/embassy-executor/tests/ui/self_ref.rs
2024-10-20 23:54:17 +02:00

9 lines
163 B
Rust

#![cfg_attr(feature = "nightly", feature(impl_trait_in_assoc_type))]
struct Foo<'a>(&'a ());
#[embassy_executor::task]
async fn task(&mut self) {}
fn main() {}