about summary refs log tree commit diff
path: root/tests/ui/check-cfg/exhaustive-names-values.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/check-cfg/exhaustive-names-values.rs')
-rw-r--r--tests/ui/check-cfg/exhaustive-names-values.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/ui/check-cfg/exhaustive-names-values.rs b/tests/ui/check-cfg/exhaustive-names-values.rs
index 956992a1e77..d554c19ef25 100644
--- a/tests/ui/check-cfg/exhaustive-names-values.rs
+++ b/tests/ui/check-cfg/exhaustive-names-values.rs
@@ -1,11 +1,11 @@
 // Check warning for unexpected cfg in the code.
 //
-// check-pass
-// revisions: empty_cfg feature full
-// compile-flags: -Z unstable-options
-// [empty_cfg]compile-flags: --check-cfg=cfg()
-// [feature]compile-flags: --check-cfg=cfg(feature,values("std"))
-// [full]compile-flags: --check-cfg=cfg(feature,values("std")) --check-cfg=cfg()
+//@ check-pass
+//@ revisions: empty_cfg feature full
+//@ compile-flags: -Z unstable-options
+//@ [empty_cfg]compile-flags: --check-cfg=cfg()
+//@ [feature]compile-flags: --check-cfg=cfg(feature,values("std"))
+//@ [full]compile-flags: --check-cfg=cfg(feature,values("std")) --check-cfg=cfg()
 
 #[cfg(unknown_key = "value")]
 //~^ WARNING unexpected `cfg` condition name