rust/src/test/ui/error-codes/E0025.stderr

12 lines
371 B
Plaintext
Raw Normal View History

2018-02-07 21:35:35 -06:00
error[E0025]: field `a` bound multiple times in the pattern
--> $DIR/E0025.rs:18:21
|
18 | let Foo { a: x, a: y, b: 0 } = x;
| ---- ^^^^ multiple uses of `a` in pattern
| |
| first use of `a`
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 E0025"