diff options
| author | Eduard Burtescu <edy.burt@gmail.com> | 2015-02-01 09:59:46 +0200 | 
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2015-12-16 17:12:35 +0300 | 
| commit | b8157cc67fa25f2944b24f4306151d53d1b80b56 (patch) | |
| tree | 0d9ddf074f25fec3fa9f56fc5c69c118f6dcd3af /src/test/parse-fail/struct-literal-in-while.rs | |
| parent | ce7bc51933e2facb4eca029ac17b398f372f5b41 (diff) | |
| download | rust-b8157cc67fa25f2944b24f4306151d53d1b80b56.tar.gz rust-b8157cc67fa25f2944b24f4306151d53d1b80b56.zip | |
Implement type ascription.
Diffstat (limited to 'src/test/parse-fail/struct-literal-in-while.rs')
| -rw-r--r-- | src/test/parse-fail/struct-literal-in-while.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/test/parse-fail/struct-literal-in-while.rs b/src/test/parse-fail/struct-literal-in-while.rs index 2052193df91..1c52dc48ccd 100644 --- a/src/test/parse-fail/struct-literal-in-while.rs +++ b/src/test/parse-fail/struct-literal-in-while.rs @@ -22,7 +22,7 @@ impl Foo { fn main() { while Foo { - x: 3 //~ ERROR expected one of `!`, `.`, `::`, `;`, `{`, `}`, or an operator, found `:` + x: 3 //~ ERROR expected type, found `3` }.hi() { println!("yo"); } | 
