rust/tests/ui/variants/variant-size-differences.stderr

15 lines
398 B
Plaintext
Raw Normal View History

2018-08-08 12:28:26 +00:00
error: enum variant is more than three times larger (1024 bytes) than the next largest
2018-12-25 15:56:47 +00:00
--> $DIR/variant-size-differences.rs:5:5
2018-08-08 12:28:26 +00:00
|
2019-03-09 12:03:44 +00:00
LL | VBig([u8; 1024]),
2018-08-08 12:28:26 +00:00
| ^^^^^^^^^^^^^^^^
|
2020-01-22 23:57:38 +00:00
note: the lint level is defined here
2018-12-25 15:56:47 +00:00
--> $DIR/variant-size-differences.rs:1:9
2018-08-08 12:28:26 +00:00
|
LL | #![deny(variant_size_differences)]
| ^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 1 previous error
2018-08-08 12:28:26 +00:00