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