Change two compile-fail patterns to match rustc output.

This commit is contained in:
Graydon Hoare 2011-05-04 11:20:47 -07:00
parent 895ec07453
commit 456398a403
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
// error-pattern: Unexpected token 'x'
// error-pattern: expecting
fn main() {
let int x = 5;

View File

@ -2,7 +2,7 @@
// xfail-stage1
// xfail-stage2
// error-pattern: malformed name
// error-pattern: expecting
fn main() {
let x.y[int].z foo;