2018-07-15 16:11:54 -05:00
|
|
|
error[E0408]: variable `i` is not bound in all patterns
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-2849.rs:5:7
|
2018-07-15 16:11:54 -05:00
|
|
|
|
|
2018-12-16 21:21:47 -06:00
|
|
|
LL | Foo::Alpha | Foo::Beta(i) => {}
|
2018-07-15 16:11:54 -05:00
|
|
|
| ^^^^^^^^^^ - variable not in all patterns
|
|
|
|
| |
|
|
|
|
| pattern doesn't bind `i`
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0408`.
|