diff options
Diffstat (limited to 'src/test/ui/parser/recovered-struct-variant.rs')
| -rw-r--r-- | src/test/ui/parser/recovered-struct-variant.rs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/test/ui/parser/recovered-struct-variant.rs b/src/test/ui/parser/recovered-struct-variant.rs deleted file mode 100644 index 5b195dcc378..00000000000 --- a/src/test/ui/parser/recovered-struct-variant.rs +++ /dev/null @@ -1,13 +0,0 @@ -enum Foo { - A { a, b: usize } - //~^ ERROR expected `:`, found `,` -} - -fn main() { - // no complaints about non-existing fields - let f = Foo::A { a:3, b: 4}; - match f { - // no complaints about non-existing fields - Foo::A {a, b} => {} - } -} |
