mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
15 lines
398 B
Plaintext
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
|
|
|