]> git.lizzy.rs Git - rust.git/blob - src/test/ui/check-cfg/allow-at-crate-level.rs
Auto merge of #103600 - compiler-errors:early-binder-nits, r=spastorino
[rust.git] / src / test / ui / check-cfg / allow-at-crate-level.rs
1 // This test check that #![allow(unexpected_cfgs)] works with --cfg
2 //
3 // check-pass
4 // compile-flags: --cfg=unexpected --check-cfg=names() -Z unstable-options
5
6 #![allow(unexpected_cfgs)]
7
8 fn main() {}