From 7c8ee712be3680bf9a0ad5bed6b2d348df674857 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Fri, 1 Jul 2011 23:54:10 -0700 Subject: [PATCH] Fix the error-pattern on compile-fail/fail-simple Recent changes to the fail statement changed the way the parser errors in this scenario. --- src/test/compile-fail/fail-simple.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/compile-fail/fail-simple.rs b/src/test/compile-fail/fail-simple.rs index a8c4934aa0c2..768cc1e1bf4c 100644 --- a/src/test/compile-fail/fail-simple.rs +++ b/src/test/compile-fail/fail-simple.rs @@ -1,6 +1,6 @@ // -*- rust -*- -// error-pattern: after expression but found +// error-pattern:unexpected token fn main() { fail @ ; }