diff options
Diffstat (limited to 'tests/ui/async-await/edition-deny-async-fns-2015.rs')
-rw-r--r-- | tests/ui/async-await/edition-deny-async-fns-2015.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/ui/async-await/edition-deny-async-fns-2015.rs b/tests/ui/async-await/edition-deny-async-fns-2015.rs index d4c30dc9d..6bd6d879a 100644 --- a/tests/ui/async-await/edition-deny-async-fns-2015.rs +++ b/tests/ui/async-await/edition-deny-async-fns-2015.rs @@ -1,6 +1,4 @@ // edition:2015 -// [next] compile-flags: -Zlower-impl-trait-in-trait-to-assoc-ty -// revisions: current next async fn foo() {} //~ ERROR `async fn` is not permitted in Rust 2015 |