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