diff options
| author | Michael Goulet <michael@errs.io> | 2024-11-04 19:29:02 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-12-02 16:50:44 +0000 |
| commit | 59e3e8934e3e50ddb9b9a9ffaa523cbab2260598 (patch) | |
| tree | d2883e386337ef32de1647da6f538739f1a40f30 /src/tools/miri/tests | |
| parent | a6f2f00de89e1dd9cb903db93dac754398c1267f (diff) | |
| download | rust-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.rs | 2 | ||||
| -rw-r--r-- | src/tools/miri/tests/pass/async-closure-drop.rs | 2 |
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; |
