1 2 3 4 5 6 7 8
#![cfg_attr(feature = "nightly", feature(impl_trait_in_assoc_type))] struct Foo<T>(T); #[embassy_executor::task] async fn foo(_x: Foo<impl Sized + 'static>) {} fn main() {}