rust/tests/ui/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 15:56:47 +00:00
--> $DIR/issue-44912-or.rs:6:35
|
2018-02-23 00:42:32 +00: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 14:59:40 +00:00
For more information about this error, try `rustc --explain E0409`.