summaryrefslogtreecommitdiffstats
path: root/tests/ui/async-await/in-trait/early-bound-1.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/async-await/in-trait/early-bound-1.rs')
-rw-r--r--tests/ui/async-await/in-trait/early-bound-1.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/ui/async-await/in-trait/early-bound-1.rs b/tests/ui/async-await/in-trait/early-bound-1.rs
index 6b3b14201..ddcb477a1 100644
--- a/tests/ui/async-await/in-trait/early-bound-1.rs
+++ b/tests/ui/async-await/in-trait/early-bound-1.rs
@@ -1,10 +1,8 @@
// check-pass
// edition:2021
-#![feature(async_fn_in_trait)]
-#![allow(incomplete_features)]
-
pub trait Foo {
+ #[allow(async_fn_in_trait)]
async fn foo(&mut self);
}