more lints
This commit is contained in:
parent
df81ca3764
commit
758a77d46c
2 changed files with 1035 additions and 46 deletions
|
|
@ -436,7 +436,7 @@ This lint detects enums with widely varying variant sizes. Some example code tha
|
|||
```rust
|
||||
enum En {
|
||||
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…
Add table
Add a link
Reference in a new issue