]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/forbid-member-group.rs
Merge commit '40b00f4200fbdeefd11815398cb46394b8cb0a5e' into sync_cg_clif-2021-12-30
[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 }