We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25c5b03 commit 347b9d6Copy full SHA for 347b9d6
src/test/ui/issue-49257.rs
@@ -18,6 +18,6 @@ struct Point { x: u8, y: u8 }
18
fn main() {
19
let p = Point { x: 0, y: 0 };
20
let Point { .., y } = p; //~ ERROR expected `}`, found `,`
21
- //~^ pattern does not mention field `x`
22
- //~^^ pattern does not mention field `y`
+ //~| ERROR pattern does not mention field `x`
+ //~| ERROR pattern does not mention field `y`
23
}
0 commit comments