blob: 6d4ed9c01111fa2409970188570fd5fece6616f4 (
plain)
1
2
3
4
5
6
7
8
9
10
|
error[E0408]: variable `beta` is not bound in all patterns
--> $DIR/issue-2848.rs:22:7
|
22 | alpha | beta => {} //~ ERROR variable `beta` is not bound in all patterns
| ^^^^^ ---- variable not in all patterns
| |
| pattern doesn't bind `beta`
error: aborting due to previous error
|