blob: e1e1bf7f6d9711e264476ff2d65354e2dbd1c304 [file] [log] [blame]
error[E0409]: variable `x` is bound inconsistently across alternatives separated by `|`
--> $DIR/issue-44912-or.rs:6: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`.