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 e57298f7280..93098455560 100644 --- a/src/test/parse-fail/struct-literal-in-for.rs +++ b/src/test/parse-fail/struct-literal-in-for.rs @@ -23,7 +23,7 @@ impl Foo { fn main() { for x in Foo { x: 3 //~ ERROR expected type, found `3` - }.hi() { //~ ERROR expected one of `.`, `;`, `}`, or an operator, found `{` + }.hi() { //~ ERROR expected one of `.`, `;`, `?`, `}`, or an operator, found `{` println!("yo"); } } | 
