about summary refs log tree commit diff
path: root/tests/ui/check-cfg/allow-at-crate-level.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/check-cfg/allow-at-crate-level.rs')
-rw-r--r--tests/ui/check-cfg/allow-at-crate-level.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/check-cfg/allow-at-crate-level.rs b/tests/ui/check-cfg/allow-at-crate-level.rs
index 1629d2e0b67..48258b97ccc 100644
--- a/tests/ui/check-cfg/allow-at-crate-level.rs
+++ b/tests/ui/check-cfg/allow-at-crate-level.rs
@@ -1,7 +1,7 @@
 // This test check that #![allow(unexpected_cfgs)] works with --cfg
 //
-// check-pass
-// compile-flags: --cfg=unexpected --check-cfg=cfg() -Z unstable-options
+//@ check-pass
+//@ compile-flags: --cfg=unexpected --check-cfg=cfg() -Z unstable-options
 
 #![allow(unexpected_cfgs)]