1
Fork 0

Update existing tests for or-patterns

This commit is contained in:
Matthew Jasper 2019-12-27 17:53:00 +00:00
parent a20969c489
commit 30058df867
28 changed files with 361 additions and 399 deletions

View file

@ -19,13 +19,6 @@ help: you might want to use `if let` to ignore the variant that isn't matched
LL | if let Helper::U(u) = Helper::T(t, []) { /* */ }
|
error[E0381]: use of possibly-uninitialized variable: `u`
--> $DIR/empty-never-array.rs:12:5
|
LL | u
| ^ use of possibly-uninitialized `u`
error: aborting due to previous error
error: aborting due to 2 previous errors
Some errors have detailed explanations: E0005, E0381.
For more information about an error, try `rustc --explain E0005`.
For more information about this error, try `rustc --explain E0005`.