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

9 lines
176 B
Rust

#![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() {}