diff options
| author | Jorge Aparicio <japaricious@gmail.com> | 2016-03-07 21:17:31 -0500 |
|---|---|---|
| committer | Jorge Aparicio <japaricious@gmail.com> | 2016-03-07 21:17:31 -0500 |
| commit | 2de4932453a99a19e9033edb47db7a66a612188c (patch) | |
| tree | 40a2d311c084984adf4cfb5077d5b6579a9d8998 /src/test/parse-fail/struct-literal-in-for.rs | |
| parent | 210dd611aa1bd80ed2f4e663b3c4b87b3cea069a (diff) | |
| download | rust-2de4932453a99a19e9033edb47db7a66a612188c.tar.gz rust-2de4932453a99a19e9033edb47db7a66a612188c.zip | |
update error messages in parse-fail tests
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"); } } |
