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