3 //~^ ERROR documentation comments cannot be applied to function parameters
4 //~| NOTE doc comments are not allowed here
5 //~| ERROR attributes on function parameters are unstable
6 //~| NOTE https://github.com/rust-lang/rust/issues/60406
9 //~^ ERROR documentation comments cannot be applied to function parameters
10 //~| NOTE doc comments are not allowed here
11 //~| ERROR attributes on function parameters are unstable
12 //~| NOTE https://github.com/rust-lang/rust/issues/60406
16 fn bar(id: #[allow(dead_code)] i32) {}
17 //~^ ERROR attributes cannot be applied to a function parameter's type
18 //~| NOTE attributes are not allowed here
21 // verify that the parser recovered and properly typechecked the args
23 //~^ ERROR mismatched types
24 //~| NOTE expected u8, found reference
26 //~| ERROR mismatched types
27 //~| NOTE expected u8, found reference
30 //~^ ERROR mismatched types
31 //~| NOTE expected i32, found reference