]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issue-49257.rs
Fix test for PR #49268
[rust.git] / src / test / ui / issue-49257.rs
index 61883294594bc3de2e017d760b363ccf7260ced0..a319849223740c47cc6f06982fcdb738e53f1745 100644 (file)
@@ -18,6 +18,5 @@ struct Point { x: u8, y: u8 }
 fn main() {
     let p = Point { x: 0, y: 0 };
     let Point { .., y } = p; //~ ERROR expected `}`, found `,`
-    //~| ERROR pattern does not mention field `x`
-    //~| ERROR pattern does not mention field `y`
+    //~| ERROR pattern does not mention fields `x`, `y`
 }