about summary refs log tree commit diff
path: root/src/tools/miri/tests
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-11-04 19:29:02 +0000
committerMichael Goulet <michael@errs.io>2024-12-02 16:50:44 +0000
commit59e3e8934e3e50ddb9b9a9ffaa523cbab2260598 (patch)
treed2883e386337ef32de1647da6f538739f1a40f30 /src/tools/miri/tests
parenta6f2f00de89e1dd9cb903db93dac754398c1267f (diff)
downloadrust-59e3e8934e3e50ddb9b9a9ffaa523cbab2260598.tar.gz
rust-59e3e8934e3e50ddb9b9a9ffaa523cbab2260598.zip
Gate async fn trait bound modifier on async_trait_bounds
Diffstat (limited to 'src/tools/miri/tests')
-rw-r--r--src/tools/miri/tests/pass/async-closure-captures.rs2
-rw-r--r--src/tools/miri/tests/pass/async-closure-drop.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/miri/tests/pass/async-closure-captures.rs b/src/tools/miri/tests/pass/async-closure-captures.rs
index cac26bfe146..423ef7a5cf7 100644
--- a/src/tools/miri/tests/pass/async-closure-captures.rs
+++ b/src/tools/miri/tests/pass/async-closure-captures.rs
@@ -1,6 +1,6 @@
 // Same as rustc's `tests/ui/async-await/async-closures/captures.rs`, keep in sync
 
-#![feature(async_closure, noop_waker)]
+#![feature(async_closure, noop_waker, async_trait_bounds)]
 
 use std::future::Future;
 use std::pin::pin;
diff --git a/src/tools/miri/tests/pass/async-closure-drop.rs b/src/tools/miri/tests/pass/async-closure-drop.rs
index 9b2fc2948bf..264da5a9518 100644
--- a/src/tools/miri/tests/pass/async-closure-drop.rs
+++ b/src/tools/miri/tests/pass/async-closure-drop.rs
@@ -1,4 +1,4 @@
-#![feature(async_closure, noop_waker, async_fn_traits)]
+#![feature(async_closure, noop_waker, async_trait_bounds)]
 
 use std::future::Future;
 use std::pin::pin;