summaryrefslogtreecommitdiffstats
path: root/tests/ui/structs/struct-fields-decl-dupe.stderr
blob: 3c25708a3de1749a8c141a7317e252dee6997be3 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0124]: field `foo` is already declared
  --> $DIR/struct-fields-decl-dupe.rs:3:5
   |
LL |     foo: isize,
   |     ---------- `foo` first declared here
LL |     foo: isize,
   |     ^^^^^^^^^^ field already declared

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0124`.