summaryrefslogtreecommitdiffstats
path: root/tests/ui/check-cfg/well-known-names.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/check-cfg/well-known-names.rs')
-rw-r--r--tests/ui/check-cfg/well-known-names.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/check-cfg/well-known-names.rs b/tests/ui/check-cfg/well-known-names.rs
index e57fb69a1..1dcb419b4 100644
--- a/tests/ui/check-cfg/well-known-names.rs
+++ b/tests/ui/check-cfg/well-known-names.rs
@@ -1,7 +1,7 @@
// This test checks that we lint on non well known names and that we don't lint on well known names
//
// check-pass
-// compile-flags: --check-cfg=names() -Z unstable-options
+// compile-flags: --check-cfg=cfg() -Z unstable-options
#[cfg(target_oz = "linux")]
//~^ WARNING unexpected `cfg` condition name