2018-08-08 07:28:26 -05:00
|
|
|
error: enum variant is more than three times larger (1024 bytes) than the next largest
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/variant-size-differences.rs:5:5
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | VBig([u8; 1024]), //~ ERROR variant is more than three times larger
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: lint level defined here
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/variant-size-differences.rs:1:9
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | #![deny(variant_size_differences)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|