about summary refs log tree commit diff
diff options
context:
space:
mode:
authorHidehito Yabuuchi <hdht.ybuc@gmail.com>2018-03-23 01:15:27 +0900
committerHidehito Yabuuchi <hdht.ybuc@gmail.com>2018-03-24 07:54:20 +0900
commitf8fc5c0523c174e27e670525f5fa22d087315507 (patch)
tree691439291a08b335094f6e13dccbefb102fc81ca
parent3bfed9e43f5ebe76719e3c30c8c8cefc81b08f80 (diff)
downloadrust-f8fc5c0523c174e27e670525f5fa22d087315507.tar.gz
rust-f8fc5c0523c174e27e670525f5fa22d087315507.zip
Fix error annotations in test
-rw-r--r--src/test/ui/issue-49257.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/issue-49257.rs b/src/test/ui/issue-49257.rs
index 75b9e126841..61883294594 100644
--- a/src/test/ui/issue-49257.rs
+++ b/src/test/ui/issue-49257.rs
@@ -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`
 }