Fix the error-pattern on compile-fail/fail-simple
Recent changes to the fail statement changed the way the parser errors in this scenario.
This commit is contained in:
parent
d485e0d15a
commit
7c8ee712be
1 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
// -*- rust -*-
|
||||
|
||||
// error-pattern: after expression but found
|
||||
// error-pattern:unexpected token
|
||||
fn main() {
|
||||
fail @ ;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue