Changed a few tests, and changed the folder of a few of them.

This commit is contained in:
Crazycolorz5 2018-06-04 22:35:39 -04:00
parent bfdd90c722
commit 14e4a42245
4 changed files with 4 additions and 4 deletions

View file

@ -9,7 +9,7 @@
// except according to those terms.
fn foo(a: [0; 1]) {} //~ ERROR expected type, found `0`
//~| ERROR expected one of `->`, `where`, or `{`, found `]`
//~| ERROR expected one of `)`, `->`, `where`, or `{`, found `]`
// FIXME(jseyfried): avoid emitting the second error (preexisting)
fn main() {}

View file

@ -12,6 +12,6 @@ mod foo {
type T = ();
struct S1(pub(in foo) (), pub(T), pub(crate) (), pub(((), T)));
struct S2(pub((foo)) ());
//~^ ERROR expected `,`, found `(`
//~^ ERROR expected one of `)` or `,`, found `(`
//~| ERROR cannot find type `foo` in this scope
}

View file

@ -13,7 +13,7 @@ macro_rules! define_struct {
struct S1(pub $t);
struct S2(pub (in foo) ());
struct S3(pub $t ());
//~^ ERROR expected `,`, found `(`
//~^ ERROR expected one of `)` or `,`, found `(`
}
}

View file

@ -13,7 +13,7 @@ macro_rules! define_struct {
struct S1(pub($t));
struct S2(pub (in foo) ());
struct S3(pub($t) ());
//~^ ERROR expected `,`, found `(`
//~^ ERROR expected one of `)` or `,`, found `(`
}
}