rust/tests/ui/error-codes/E0124.stderr
Nilstrieb 41e8d152dc Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00

11 lines
326 B
Text

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