about summary refs log tree commit diff
path: root/tests/ui/async-await/no-async-const.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/async-await/no-async-const.rs')
-rw-r--r--tests/ui/async-await/no-async-const.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/async-await/no-async-const.rs b/tests/ui/async-await/no-async-const.rs
index c9941d1c5a0..c5485ebc9b6 100644
--- a/tests/ui/async-await/no-async-const.rs
+++ b/tests/ui/async-await/no-async-const.rs
@@ -1,5 +1,5 @@
-// edition:2018
-// compile-flags: --crate-type lib
+//@ edition:2018
+//@ compile-flags: --crate-type lib
 
 pub async const fn x() {}
 //~^ ERROR expected one of `extern`, `fn`, or `unsafe`, found keyword `const`