summaryrefslogtreecommitdiffstats
path: root/tests/ui/variants/variant-size-differences.stderr
blob: 241a757d44523931df450f2f3a510337d45cbe02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 previous error