diff options
Diffstat (limited to 'src/test/parse-fail/struct-literal-in-for.rs')
| -rw-r--r-- | src/test/parse-fail/struct-literal-in-for.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/parse-fail/struct-literal-in-for.rs b/src/test/parse-fail/struct-literal-in-for.rs index 8fb71e13f16..107b836d160 100644 --- a/src/test/parse-fail/struct-literal-in-for.rs +++ b/src/test/parse-fail/struct-literal-in-for.rs @@ -22,7 +22,7 @@ impl Foo { fn main() { for x in Foo { - x: 3 //~ ERROR expected one of `!`, `.`, `::`, `;`, `{`, `}`, or an operator, found `:` + x: 3 //~ ERROR expected type, found `3` }.hi() { println!("yo"); } |
