rust/tests/ui/issues/issue-15260.stderr

37 lines
972 B
Plaintext
Raw Normal View History

error[E0025]: field `a` bound multiple times in the pattern
2018-12-25 15:56:47 +00:00
--> $DIR/issue-15260.rs:8:9
|
2018-02-23 00:42:32 +00:00
LL | a: _,
| ---- first use of `a`
2018-02-23 00:42:32 +00:00
LL | a: _
| ^^^^ multiple uses of `a` in pattern
error[E0025]: field `a` bound multiple times in the pattern
2018-12-25 15:56:47 +00:00
--> $DIR/issue-15260.rs:14:9
|
2018-02-23 00:42:32 +00:00
LL | a,
| - first use of `a`
2018-02-23 00:42:32 +00:00
LL | a: _
| ^^^^ multiple uses of `a` in pattern
error[E0025]: field `a` bound multiple times in the pattern
2018-12-25 15:56:47 +00:00
--> $DIR/issue-15260.rs:20:9
|
2018-02-23 00:42:32 +00:00
LL | a,
| - first use of `a`
2018-02-23 00:42:32 +00:00
LL | a: _,
| ^^^^ multiple uses of `a` in pattern
error[E0025]: field `a` bound multiple times in the pattern
2018-12-25 15:56:47 +00:00
--> $DIR/issue-15260.rs:22:9
|
2018-02-23 00:42:32 +00:00
LL | a,
| - first use of `a`
...
2018-02-23 00:42:32 +00:00
LL | a: x
| ^^^^ multiple uses of `a` in pattern
error: aborting due to 4 previous errors
2018-03-03 14:59:40 +00:00
For more information about this error, try `rustc --explain E0025`.