aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor/tests/ui/self_ref.rs
blob: 5e49bba5eed2a0b68653c49c0963d2a4272f7111 (plain)
1
2
3
4
5
6
7
8
#![cfg_attr(feature = "nightly", feature(impl_trait_in_assoc_type))]

struct Foo<'a>(&'a ());

#[embassy_executor::task]
async fn task(&mut self) {}

fn main() {}