rust/tests/ui/hygiene/fields-definition.stderr

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

17 lines
523 B
Plaintext
Raw Normal View History

2018-04-07 11:18:44 -05:00
error[E0124]: field `a` is already declared
--> $DIR/fields-definition.rs:14:13
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,
| ^^^^^^ field already declared
2018-04-07 11:18:44 -05:00
...
LL | legacy!(a);
2021-10-14 13:28:28 -05:00
| ---------- in this macro invocation
|
= note: this error originates in the macro `legacy` (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`.