]> git.lizzy.rs Git - rust.git/blob - src/test/ui/hygiene/fields-definition.stderr
Require Drop impls to have the same constness on its bounds as the bounds on the...
[rust.git] / src / test / ui / hygiene / fields-definition.stderr
1 error[E0124]: field `a` is already declared
2   --> $DIR/fields-definition.rs:14:13
3    |
4 LL |             a: u8,
5    |             ----- `a` first declared here
6 LL |             $a: u8,
7    |             ^^^^^^ field already declared
8 ...
9 LL | legacy!(a);
10    | ---------- in this macro invocation
11    |
12    = note: this error originates in the macro `legacy` (in Nightly builds, run with -Z macro-backtrace for more info)
13
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0124`.