2018-04-07 16:18:44 +00:00
|
|
|
error[E0124]: field `a` is already declared
|
2020-02-24 10:04:13 +00:00
|
|
|
--> $DIR/fields-definition.rs:14:13
|
2018-04-07 16:18:44 +00:00
|
|
|
|
|
|
|
|
LL | a: u8,
|
|
|
|
| ----- `a` first declared here
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | $a: u8,
|
2020-02-24 10:04:13 +00:00
|
|
|
| ^^^^^^ field already declared
|
2018-04-07 16:18:44 +00:00
|
|
|
...
|
|
|
|
LL | legacy!(a);
|
2021-10-14 18:28:28 +00:00
|
|
|
| ---------- in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00:00
|
|
|
= note: this error originates in the macro `legacy` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-04-07 16:18:44 +00:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2018-04-07 16:18:44 +00:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0124`.
|