summaryrefslogtreecommitdiffstats
path: root/src/test/ui/structs/struct-fields-decl-dupe.stderr
blob: d7ce9bb89226073f452e477591c07df59525fe89 (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 previous error

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