3 //~^ ERROR documentation comments cannot be applied to function parameters
4 //~| NOTE doc comments are not allowed here
7 //~^ ERROR documentation comments cannot be applied to function parameters
8 //~| NOTE doc comments are not allowed here
12 fn bar(id: #[allow(dead_code)] i32) {}
13 //~^ ERROR attributes cannot be applied to a function parameter's type
14 //~| NOTE attributes are not allowed here
17 // verify that the parser recovered and properly typechecked the args
19 //~^ ERROR mismatched types
20 //~| NOTE expected `u8`, found `&str`
21 //~| ERROR mismatched types
22 //~| NOTE expected `u8`, found `&str`
24 //~^ ERROR mismatched types
25 //~| NOTE expected `i32`, found `&str`