about summary refs log tree commit diff
path: root/tests/ui/check-cfg/allow-at-crate-level.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/check-cfg/allow-at-crate-level.rs')
-rw-r--r--tests/ui/check-cfg/allow-at-crate-level.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/check-cfg/allow-at-crate-level.rs b/tests/ui/check-cfg/allow-at-crate-level.rs
index 03b4676ad5f..9dc2416a3a9 100644
--- a/tests/ui/check-cfg/allow-at-crate-level.rs
+++ b/tests/ui/check-cfg/allow-at-crate-level.rs
@@ -1,6 +1,7 @@
 // This test check that #![allow(unexpected_cfgs)] works with --cfg
 //
 //@ check-pass
+//@ no-auto-check-cfg
 //@ compile-flags: --cfg=unexpected --check-cfg=cfg()
 
 #![allow(unexpected_cfgs)]