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>2024-01-22 18:20:12 +0000
committerbors <bors@rust-lang.org>2024-01-22 18:20:12 +0000
commita8017ae131cf500b2fc005d01a062cecb121cba9 (patch)
tree13bf84a640357e7ecce1bc20f248f9e37b1cfc3d /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent99423e8b30a5837adec3b987beb2099b432af007 (diff)
parentfd6e752f4e4fef715144b360fb7e29b4f3d10df9 (diff)
downloadrust-a8017ae131cf500b2fc005d01a062cecb121cba9.tar.gz
rust-a8017ae131cf500b2fc005d01a062cecb121cba9.zip
Auto merge of #12153 - GuillaumeGomez:non-exhaustive, r=llogiq
Don't emit `derive_partial_eq_without_eq` lint if the type has the `non_exhaustive` attribute

Part of https://github.com/rust-lang/rust-clippy/issues/9063.

If a type has a field/variant with the `#[non_exhaustive]` attribute or the type itself has it, then do no emit the `derive_partial_eq_without_eq` lint.

changelog: Don't emit `derive_partial_eq_without_eq` lint if the type has the `non_exhaustive` attribute
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions