about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-02-23 15:53:39 +0000
committerbors <bors@rust-lang.org>2023-02-23 15:53:39 +0000
commitf9adb83e0a9a5d1e8f2c5a7fc5b95c698a56b0ad (patch)
treee4acbf2f3e6c6f2ea01c79d97e150f9f6412b45c /compiler/rustc_codegen_llvm/src/errors.rs
parent8d08917d3a964f8498e6cc47f0a34770032f5e61 (diff)
parent528bb639d4a72310b625b947874aad27b5ee5088 (diff)
downloadrust-f9adb83e0a9a5d1e8f2c5a7fc5b95c698a56b0ad.tar.gz
rust-f9adb83e0a9a5d1e8f2c5a7fc5b95c698a56b0ad.zip
Auto merge of #10392 - mkrasnitski:false-positives, r=Jarcho
Fix more false positives for `extra_unused_type_parameters`

Builds on #10321. All empty functions are no longer linted, instead of just those that have trait bounds on them. Also, if a trait bound contains a non-public trait (un-exported, but still potentially reachable), then the corresponding type parameter isn't linted.

Finally, added support for the `avoid_breaking_exported_api` config option.

r? `@flip1995`
changelog: none
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions