diff options
Diffstat (limited to '')
-rw-r--r-- | tests/ui/parser/recover/recover-enum2.rs (renamed from tests/ui/parser/recover-enum2.rs) | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ui/parser/recover-enum2.rs b/tests/ui/parser/recover/recover-enum2.rs index 0c9420889..56b57f625 100644 --- a/tests/ui/parser/recover-enum2.rs +++ b/tests/ui/parser/recover/recover-enum2.rs @@ -8,7 +8,7 @@ fn main() { } // recover... - let a = 1; + let () = 1; //~ ERROR mismatched types enum Test2 { Fine, } @@ -24,5 +24,6 @@ fn main() { enum Test4 { Nope(i32 {}) //~ ERROR: found `{` } + let () = 1; //~ ERROR mismatched types } } |