rust/tests/ui/structs/struct-fields-decl-dupe.stderr
2023-01-11 09:32:08 +00:00

12 lines
332 B
Plaintext

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`.