rust/src/test/ui/error-codes/E0124.stderr
Guillaume Gomez 2e104a77cf update tests
2018-03-14 00:53:24 +01:00

11 lines
325 B
Text

error[E0124]: field `field1` is already declared
--> $DIR/E0124.rs:13:5
|
LL | field1: i32,
| ----------- `field1` first declared here
LL | field1: i32,
| ^^^^^^^^^^^ field already declared
error: aborting due to previous error
For more information about this error, try `rustc --explain E0124`.