about summary refs log tree commit diff
path: root/tests/ui/check-cfg/allow-same-level.rs
diff options
context:
space:
mode:
authorUrgau <urgau@numericable.fr>2024-02-25 14:56:14 +0100
committerUrgau <urgau@numericable.fr>2024-04-15 21:49:55 +0200
commit909fcfcb6a01b9a811835ba001954e6c62b2a2bc (patch)
treeb83d43c1e4e41d2f835f5f2d99b3b935a8aa7f93 /tests/ui/check-cfg/allow-same-level.rs
parent99d0186b1d0547eae913eff04be272c9d348b9b8 (diff)
downloadrust-909fcfcb6a01b9a811835ba001954e6c62b2a2bc.tar.gz
rust-909fcfcb6a01b9a811835ba001954e6c62b2a2bc.zip
Stabilize checking of cfgs at compile-time: --check-cfg option
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 231ad522c8d..e932ece6ee7 100644
--- a/tests/ui/check-cfg/allow-same-level.rs
+++ b/tests/ui/check-cfg/allow-same-level.rs
@@ -1,7 +1,7 @@
 // This test check that #[allow(unexpected_cfgs)] doesn't work if put on the same level
 //
 //@ check-pass
-//@ compile-flags: --check-cfg=cfg() -Z unstable-options
+//@ compile-flags: --check-cfg=cfg()
 
 #[allow(unexpected_cfgs)]
 #[cfg(FALSE)]