rust/tests/ui/variants/variant-size-differences.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

15 lines
398 B
Plaintext

error: enum variant is more than three times larger (1024 bytes) than the next largest
--> $DIR/variant-size-differences.rs:5:5
|
LL | VBig([u8; 1024]),
| ^^^^^^^^^^^^^^^^
|
note: the lint level is defined here
--> $DIR/variant-size-differences.rs:1:9
|
LL | #![deny(variant_size_differences)]
| ^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 1 previous error