]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2005-default-binding-mode/issue-44912-or.stderr
Rollup merge of #70038 - DutchGhost:const-forget-tests, r=RalfJung
[rust.git] / src / test / ui / rfc-2005-default-binding-mode / issue-44912-or.stderr
1 error[E0409]: variable `x` is bound inconsistently across alternatives separated by `|`
2   --> $DIR/issue-44912-or.rs:6:35
3    |
4 LL |         Some((x, 3)) | &Some((ref x, 5)) => x,
5    |               - first binding     ^ bound in different ways
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0409`.