1 error[E0409]: variable `x` is bound inconsistently across alternatives separated by `|`
2 --> $DIR/issue-44912-or.rs:6:35
4 LL | Some((x, 3)) | &Some((ref x, 5)) => x,
5 | - first binding ^ bound in different ways
7 error: aborting due to previous error
9 For more information about this error, try `rustc --explain E0409`.