blob: 04fa3708ffb758e2f708cde2e0deded88e2ec014 [file] [log] [blame]
error[E0409]: variable `x` is bound in inconsistent ways within the same match arm
--> $DIR/issue-44912-or.rs:16:35
|
LL | Some((x, 3)) | &Some((ref x, 5)) => x,
| - first binding ^ bound in different ways
error: aborting due to previous error
For more information about this error, try `rustc --explain E0409`.