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

10 lines
358 B
Text
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
|
2018-02-23 03:42:32 +03:00
LL | Some((x, 3)) | &Some((ref x, 5)) => x,
| - first binding ^ bound in different ways
error: aborting due to previous error
2018-02-19 21:40:25 +01:00
If you want more information on this error, try using "rustc --explain E0409"