more lints
This commit is contained in:
parent
df81ca3764
commit
758a77d46c
@ -436,7 +436,7 @@ This lint detects enums with widely varying variant sizes. Some example code tha
|
|||||||
```rust
|
```rust
|
||||||
enum En {
|
enum En {
|
||||||
V0(u8),
|
V0(u8),
|
||||||
VBig([u8; 1024]), //~ ERROR variant is more than three times larger
|
VBig([u8; 1024]),
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user