]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/forbid-member-group.rs
Sync portable-simd to rust-lang/portable-simd@72df4c45056a8bc0d1b3f06fdc828722177f0763
[rust.git] / src / test / ui / lint / forbid-member-group.rs
1 // Check what happens when we forbid a member of
2 // a group but then allow the group.
3
4 #![forbid(unused_variables)]
5
6 #[allow(unused)]
7 //~^ ERROR incompatible with previous forbid
8 //~| ERROR incompatible with previous forbid
9 fn main() {
10     let a: ();
11 }