We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3bfed9e commit f8fc5c0Copy full SHA for f8fc5c0
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