summaryrefslogtreecommitdiffstats
path: root/tests/ui/check-cfg/allow-top-level.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/check-cfg/allow-top-level.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/check-cfg/allow-top-level.rs b/tests/ui/check-cfg/allow-top-level.rs
index d14b0eae5..df06f655d 100644
--- a/tests/ui/check-cfg/allow-top-level.rs
+++ b/tests/ui/check-cfg/allow-top-level.rs
@@ -1,7 +1,7 @@
// This test check that a top-level #![allow(unexpected_cfgs)] works
//
// check-pass
-// compile-flags:--check-cfg=names() -Z unstable-options
+// compile-flags: --check-cfg=cfg() -Z unstable-options
#![allow(unexpected_cfgs)]