about summary refs log tree commit diff
path: root/tests/ui/check-cfg/allow-same-level.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/check-cfg/allow-same-level.rs')
-rw-r--r--tests/ui/check-cfg/allow-same-level.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/check-cfg/allow-same-level.rs b/tests/ui/check-cfg/allow-same-level.rs
index 8260b57bad4..3f673cb8844 100644
--- a/tests/ui/check-cfg/allow-same-level.rs
+++ b/tests/ui/check-cfg/allow-same-level.rs
@@ -12,7 +12,7 @@
 //@ compile-flags: --check-cfg=cfg() --cfg=unknown_but_active_cfg
 
 #[allow(unexpected_cfgs)]
-#[cfg(FALSE)]
+#[cfg(unknown_and_inactive_cfg)]
 //~^ WARNING unexpected `cfg` condition name
 fn bar() {}