about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-09-30 12:45:17 +0000
committerbors <bors@rust-lang.org>2021-09-30 12:45:17 +0000
commita893eb993b2227a0c814b3cd2ea3f5d32c81613b (patch)
tree36932e6181965d2534594d8ba5619e44ef4d4684 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentab99eec15f322eb06ddc0ff235e3c7fbac96e541 (diff)
parent56f0c9afdd4d85859e814e5dee503fd76cc3b2a2 (diff)
downloadrust-a893eb993b2227a0c814b3cd2ea3f5d32c81613b.tar.gz
rust-a893eb993b2227a0c814b3cd2ea3f5d32c81613b.zip
Auto merge of #7677 - surechen:edit_large_enum_variant, r=camsteffen
fix bug for large_enum_variants

Fix the discussion problem in the issue of https://github.com/rust-lang/rust-clippy/issues/7666#issuecomment-919654291

About the false positive problem of case:
```rust
enum LargeEnum6 {
    A,
    B([u8;255]),
    C([u8;200]),
}
```

changelog: Fix largest_enum_variant wrongly identifying the second largest variant.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions