diff options
Diffstat (limited to 'tests/ui/error-codes/E0124.stderr')
-rw-r--r-- | tests/ui/error-codes/E0124.stderr | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ui/error-codes/E0124.stderr b/tests/ui/error-codes/E0124.stderr new file mode 100644 index 000000000..73819a89d --- /dev/null +++ b/tests/ui/error-codes/E0124.stderr @@ -0,0 +1,11 @@ +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 previous error + +For more information about this error, try `rustc --explain E0124`. |