Change two compile-fail patterns to match rustc output.
This commit is contained in:
parent
895ec07453
commit
456398a403
@ -1,7 +1,7 @@
|
||||
// xfail-stage0
|
||||
// xfail-stage1
|
||||
// xfail-stage2
|
||||
// error-pattern: Unexpected token 'x'
|
||||
// error-pattern: expecting
|
||||
|
||||
fn main() {
|
||||
let int x = 5;
|
||||
|
@ -2,7 +2,7 @@
|
||||
// xfail-stage1
|
||||
// xfail-stage2
|
||||
|
||||
// error-pattern: malformed name
|
||||
// error-pattern: expecting
|
||||
|
||||
fn main() {
|
||||
let x.y[int].z foo;
|
||||
|
Loading…
Reference in New Issue
Block a user