summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0408.stderr
blob: 132a9432254fc1f7e91c0061a25ea4ed405d2c73 (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 previous error

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