]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/forbid-member-group.rs
Merge commit '533f0fc81ab9ba097779fcd27c8f9ea12261fef5' into psimd
[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 }