/// Comment
//~^ ERROR documentation comments cannot be applied to function parameters
//~| NOTE doc comments are not allowed here
- //~| ERROR attributes on function parameters are unstable
- //~| NOTE https://github.com/rust-lang/rust/issues/60406
id: u8,
/// Other
//~^ ERROR documentation comments cannot be applied to function parameters
//~| NOTE doc comments are not allowed here
- //~| ERROR attributes on function parameters are unstable
- //~| NOTE https://github.com/rust-lang/rust/issues/60406
a: u8,
) {}
// verify that the parser recovered and properly typechecked the args
f("", "");
//~^ ERROR mismatched types
- //~| NOTE expected u8, found reference
- //~| NOTE expected
+ //~| NOTE expected u8, found &str
//~| ERROR mismatched types
- //~| NOTE expected u8, found reference
- //~| NOTE expected
+ //~| NOTE expected u8, found &str
bar("");
//~^ ERROR mismatched types
- //~| NOTE expected i32, found reference
- //~| NOTE expected
+ //~| NOTE expected i32, found &str
}