summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-2848.stderr
blob: 873f7efcd73f31abc930b47f1203c0e33786b68d (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0408]: variable `beta` is not bound in all patterns
  --> $DIR/issue-2848.rs:14:7
   |
LL |       alpha | beta => {}
   |       ^^^^^   ---- variable not in all patterns
   |       |
   |       pattern doesn't bind `beta`

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0408`.