summaryrefslogtreecommitdiffstats
path: root/tests/ui/check-cfg/allow-upper-level.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/check-cfg/allow-upper-level.rs')
-rw-r--r--tests/ui/check-cfg/allow-upper-level.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/check-cfg/allow-upper-level.rs b/tests/ui/check-cfg/allow-upper-level.rs
index 04340694d..bd5c97815 100644
--- a/tests/ui/check-cfg/allow-upper-level.rs
+++ b/tests/ui/check-cfg/allow-upper-level.rs
@@ -1,7 +1,7 @@
// This test check that #[allow(unexpected_cfgs)] work if put on an upper level
//
// check-pass
-// compile-flags:--check-cfg=names() -Z unstable-options
+// compile-flags: --check-cfg=cfg() -Z unstable-options
#[allow(unexpected_cfgs)]
mod aa {