blob: 5b604235df7f95709b9e235ac1d95662d9539f6b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
error: FromBytes only supported on repr(u8) enum with 256 variants
--> tests/ui-stable/enum_from_bytes_u8_too_few.rs:11:1
|
11 | / #[repr(u8)]
12 | | enum Foo {
13 | | Variant0,
14 | | Variant1,
... |
267 | | Variant254,
268 | | }
| |_^
|