more lints

This commit is contained in:
steveklabnik 2018-04-06 15:06:53 -04:00
parent df81ca3764
commit 758a77d46c
2 changed files with 1035 additions and 46 deletions

View File

@ -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