2017-10-06 15:30:23 -05:00
|
|
|
error[E0409]: variable `x` is bound in inconsistent ways within the same match arm
|
|
|
|
--> $DIR/issue-44912-or.rs:18:35
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | Some((x, 3)) | &Some((ref x, 5)) => x,
|
2017-10-06 15:30:23 -05:00
|
|
|
| - first binding ^ bound in different ways
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-02-19 14:40:25 -06:00
|
|
|
If you want more information on this error, try using "rustc --explain E0409"
|