Skip to content

Commit 347b9d6

Browse files
committed
Fix error annotations in test
1 parent 25c5b03 commit 347b9d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/ui/issue-49257.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ struct Point { x: u8, y: u8 }
1818
fn main() {
1919
let p = Point { x: 0, y: 0 };
2020
let Point { .., y } = p; //~ ERROR expected `}`, found `,`
21-
//~^ pattern does not mention field `x`
22-
//~^^ pattern does not mention field `y`
21+
//~| ERROR pattern does not mention field `x`
22+
//~| ERROR pattern does not mention field `y`
2323
}

0 commit comments

Comments
 (0)