diff options
Diffstat (limited to 'src/test/ui/async-await/in-trait/issue-102310.rs')
-rw-r--r-- | src/test/ui/async-await/in-trait/issue-102310.rs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/test/ui/async-await/in-trait/issue-102310.rs b/src/test/ui/async-await/in-trait/issue-102310.rs deleted file mode 100644 index 49c3e9fee..000000000 --- a/src/test/ui/async-await/in-trait/issue-102310.rs +++ /dev/null @@ -1,15 +0,0 @@ -// check-pass -// edition:2021 - -#![feature(async_fn_in_trait)] -#![allow(incomplete_features)] - -pub trait SpiDevice { - async fn transaction<F, R>(&mut self); -} - -impl SpiDevice for () { - async fn transaction<F, R>(&mut self) {} -} - -fn main() {} |