diff options
Diffstat (limited to 'tests/ui/async-await/no-const-async.rs')
| -rw-r--r-- | tests/ui/async-await/no-const-async.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/async-await/no-const-async.rs b/tests/ui/async-await/no-const-async.rs index b3c59734e03..937a1c4bdf7 100644 --- a/tests/ui/async-await/no-const-async.rs +++ b/tests/ui/async-await/no-const-async.rs @@ -1,5 +1,5 @@ -// edition:2018 -// compile-flags: --crate-type lib +//@ edition:2018 +//@ compile-flags: --crate-type lib pub const async fn x() {} //~^ ERROR functions cannot be both `const` and `async` |
