mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
12 lines
253 B
Rust
12 lines
253 B
Rust
// Check what happens when we forbid a member of
|
|
// a group but then allow the group.
|
|
|
|
#![forbid(unused_variables)]
|
|
|
|
#[allow(unused)]
|
|
//~^ ERROR incompatible with previous forbid
|
|
//~| ERROR incompatible with previous forbid
|
|
fn main() {
|
|
let a: ();
|
|
}
|