2017-05-13 17:54:50 +08:00
|
|
|
warning: enum variant is more than three times larger (32 bytes) than the next largest
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/enum-size-variance.rs:18:5
|
2017-05-13 17:54:50 +08:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | L(i64, i64, i64, i64),
|
2017-07-06 13:54:58 +08:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
2017-05-13 17:54:50 +08:00
|
|
|
|
|
2020-01-22 23:57:38 +00:00
|
|
|
note: the lint level is defined here
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/enum-size-variance.rs:3:9
|
2017-05-13 17:54:50 +08:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | #![warn(variant_size_differences)]
|
2017-05-13 17:54:50 +08:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2020-03-11 16:30:09 +01:00
|
|
|
warning: 1 warning emitted
|
|
|
|
|