]> git.lizzy.rs Git - rust.git/blob - src/test/ui/struct-fields-decl-dupe.stderr
Auto merge of #53002 - QuietMisdreavus:brother-may-i-have-some-loops, r=pnkfelix
[rust.git] / src / test / ui / struct-fields-decl-dupe.stderr
1 error[E0124]: field `foo` is already declared
2   --> $DIR/struct-fields-decl-dupe.rs:13:5
3    |
4 LL |     foo: isize,
5    |     ---------- `foo` first declared here
6 LL |     foo: isize,
7    |     ^^^^^^^^^^ field already declared
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0124`.