From a9cb51cf0cf8adc8188097c019daeaf10822d20f Mon Sep 17 00:00:00 2001 From: Simonas Kazlauskas Date: Thu, 17 Sep 2015 12:47:03 +0300 Subject: [PATCH] Fix test expectations because of #28439 --- src/test/compile-fail/issue-28433.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/test/compile-fail/issue-28433.rs b/src/test/compile-fail/issue-28433.rs index ab0708c28ae..3ca2213087d 100644 --- a/src/test/compile-fail/issue-28433.rs +++ b/src/test/compile-fail/issue-28433.rs @@ -9,7 +9,9 @@ // except according to those terms. enum bird { - pub duck, //~ ERROR: expected identifier, found keyword `pub` + pub duck, + //~^ ERROR: expected identifier, found keyword `pub` + //~^^ ERROR: expected goose }