mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-25 16:23:10 +00:00
9 lines
165 B
Rust
9 lines
165 B
Rust
#![cfg_attr(feature = "nightly", feature(impl_trait_in_assoc_type))]
|
|
|
|
struct Foo<'a>(&'a ());
|
|
|
|
#[embassy_executor::task]
|
|
async fn task(_x: Foo<'_>) {}
|
|
|
|
fn main() {}
|