diff options
| author | Santiago Pastorino <spastorino@gmail.com> | 2023-03-07 18:26:02 -0300 |
|---|---|---|
| committer | Santiago Pastorino <spastorino@gmail.com> | 2023-03-12 10:50:32 -0300 |
| commit | 07e018dfef2f3f213a649181009623200b9f488c (patch) | |
| tree | db8e75d810702a7fa496585cf26b6067e2840329 /tests/ui/async-await/in-trait/async-example-desugared-extra.rs | |
| parent | 8a5574bf62825d5302cd89428d9bae76e93b3311 (diff) | |
| download | rust-07e018dfef2f3f213a649181009623200b9f488c.tar.gz rust-07e018dfef2f3f213a649181009623200b9f488c.zip | |
Run existing async in traits tests using -Zlower-impl-trait-in-trait-to-assoc-ty
Diffstat (limited to 'tests/ui/async-await/in-trait/async-example-desugared-extra.rs')
| -rw-r--r-- | tests/ui/async-await/in-trait/async-example-desugared-extra.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ui/async-await/in-trait/async-example-desugared-extra.rs b/tests/ui/async-await/in-trait/async-example-desugared-extra.rs index 81e1e59a362..edac0b374a3 100644 --- a/tests/ui/async-await/in-trait/async-example-desugared-extra.rs +++ b/tests/ui/async-await/in-trait/async-example-desugared-extra.rs @@ -1,5 +1,7 @@ // check-pass // edition: 2021 +// [next] compile-flags: -Zlower-impl-trait-in-trait-to-assoc-ty +// revisions: current next #![feature(async_fn_in_trait)] #![feature(return_position_impl_trait_in_trait)] |
