2017-05-13 17:54:50 +08:00
|
|
|
warning: enum variant is more than three times larger (32 bytes) than the next largest
|
2017-07-06 13:54:58 +08:00
|
|
|
--> $DIR/enum-size-variance.rs:28:5
|
2017-05-13 17:54:50 +08:00
|
|
|
|
|
2017-07-06 13:54:58 +08:00
|
|
|
28 | L(i64, i64, i64, i64), //~ WARNING three times larger
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
2017-05-13 17:54:50 +08:00
|
|
|
|
|
|
|
|
note: lint level defined here
|
2017-07-06 13:54:58 +08:00
|
|
|
--> $DIR/enum-size-variance.rs:13:9
|
2017-05-13 17:54:50 +08:00
|
|
|
|
|
2017-07-06 13:54:58 +08:00
|
|
|
13 | #![warn(variant_size_differences)]
|
2017-05-13 17:54:50 +08:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|