rust/tests/ui/rfcs/rfc-2005-default-binding-mode/issue-44912-or.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
352 B
Plaintext
Raw Normal View History

error[E0409]: variable `x` is bound inconsistently across alternatives separated by `|`
2018-12-25 09:56:47 -06:00
--> $DIR/issue-44912-or.rs:6:35
|
2018-02-22 18:42:32 -06:00
LL | Some((x, 3)) | &Some((ref x, 5)) => x,
| - first binding ^ bound in different ways
error: aborting due to previous error
2018-03-03 08:59:40 -06:00
For more information about this error, try `rustc --explain E0409`.