rust/src/test/ui/rfc-2005-default-binding-mode/issue-44912-or.stderr

10 lines
358 B
Plaintext
Raw Normal View History

error[E0409]: variable `x` is bound in inconsistent ways within the same match arm
--> $DIR/issue-44912-or.rs:18:35
|
18 | Some((x, 3)) | &Some((ref x, 5)) => x,
| - first binding ^ bound in different ways
error: aborting due to previous error
2018-02-19 14:40:25 -06:00
If you want more information on this error, try using "rustc --explain E0409"