1 // gate-test-param_attrs
3 #![deny(unused_variables)]
7 //~^ ERROR documentation comments cannot be applied to function parameters
8 //~| NOTE doc comments are not allowed here
9 //~| ERROR attributes on function parameters are unstable
10 //~| NOTE https://github.com/rust-lang/rust/issues/60406
11 #[allow(unused_variables)] a: u8
12 //~^ ERROR attributes on function parameters are unstable
13 //~| NOTE https://github.com/rust-lang/rust/issues/60406