Files
rust/tests/ui/pattern/struct-field-duplicate-binding-15260.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
1.0 KiB
Plaintext
Raw Normal View History

error[E0025]: field `a` bound multiple times in the pattern
2025-07-24 19:07:20 +05:00
--> $DIR/struct-field-duplicate-binding-15260.rs:10:9
|
2018-02-23 03:42:32 +03:00
LL | a: _,
| ---- first use of `a`
2018-02-23 03:42:32 +03:00
LL | a: _
| ^^^^ multiple uses of `a` in pattern
error[E0025]: field `a` bound multiple times in the pattern
2025-07-24 19:07:20 +05:00
--> $DIR/struct-field-duplicate-binding-15260.rs:16:9
|
2018-02-23 03:42:32 +03:00
LL | a,
| - first use of `a`
2018-02-23 03:42:32 +03:00
LL | a: _
| ^^^^ multiple uses of `a` in pattern
error[E0025]: field `a` bound multiple times in the pattern
2025-07-24 19:07:20 +05:00
--> $DIR/struct-field-duplicate-binding-15260.rs:22:9
|
2018-02-23 03:42:32 +03:00
LL | a,
| - first use of `a`
2018-02-23 03:42:32 +03:00
LL | a: _,
| ^^^^ multiple uses of `a` in pattern
error[E0025]: field `a` bound multiple times in the pattern
2025-07-24 19:07:20 +05:00
--> $DIR/struct-field-duplicate-binding-15260.rs:24:9
|
2018-02-23 03:42:32 +03:00
LL | a,
| - first use of `a`
...
2018-02-23 03:42:32 +03:00
LL | a: x
| ^^^^ multiple uses of `a` in pattern
error: aborting due to 4 previous errors
2018-03-03 15:59:40 +01:00
For more information about this error, try `rustc --explain E0025`.