From 347b9d6b563f8f436a27fa5cfd10bc2e43cbb8b7 Mon Sep 17 00:00:00 2001 From: Hidehito Yabuuchi Date: Fri, 23 Mar 2018 01:15:27 +0900 Subject: [PATCH] Fix error annotations in test --- src/test/ui/issue-49257.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/ui/issue-49257.rs b/src/test/ui/issue-49257.rs index 75b9e12684165..61883294594bc 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` }