Skip to content

Commit

Permalink
Fix error annotations in test
Browse files Browse the repository at this point in the history
  • Loading branch information
ordovicia committed Mar 22, 2018
1 parent 25c5b03 commit 347b9d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/ui/issue-49257.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ struct Point { x: u8, y: u8 }
fn main() {
let p = Point { x: 0, y: 0 };
let Point { .., y } = p; //~ ERROR expected `}`, found `,`
//~^ pattern does not mention field `x`
//~^^ pattern does not mention field `y`
//~| ERROR pattern does not mention field `x`
//~| ERROR pattern does not mention field `y`
}

0 comments on commit 347b9d6

Please sign in to comment.