summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0408.stderr
blob: 45ac480061f6b0b90222e9f6fa67d9b547c2a2d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0408]: variable `y` is not bound in all patterns
  --> $DIR/E0408.rs:5:19
   |
LL |         Some(y) | None => {}
   |              -    ^^^^ pattern doesn't bind `y`
   |              |
   |              variable not in all patterns

error: aborting due to 1 previous error

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