Skip to content

Commit 7c8ee71

Browse files
committed
Fix the error-pattern on compile-fail/fail-simple
Recent changes to the fail statement changed the way the parser errors in this scenario.
1 parent d485e0d commit 7c8ee71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/compile-fail/fail-simple.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// -*- rust -*-
22

3-
// error-pattern: after expression but found
3+
// error-pattern:unexpected token
44
fn main() {
55
fail @ ;
66
}

0 commit comments

Comments
 (0)