rust/compiler/rustc_lint
Matthias Krüger fa69b671a9
Rollup merge of #132453 - Urgau:non_local_defs-impl-mod-transparent, r=jieyouxu
Also treat `impl` definition parent as transparent regarding modules

This PR changes the `non_local_definitions` lint logic to also consider `impl` definition parent as transparent regarding modules.

See tests and explanation in the changes.

``````@rustbot`````` label +L-non_local_definitions
Fixes *(after beta-backport)* #132427
cc ``````@leighmcculloch``````
r? ``````@jieyouxu``````
2024-11-02 08:33:13 +01:00
..
src Rollup merge of #132453 - Urgau:non_local_defs-impl-mod-transparent, r=jieyouxu 2024-11-02 08:33:13 +01:00
Cargo.toml compiler: Depend on rustc_abi in rustc_lint 2024-10-27 23:59:31 -07:00
messages.ftl Improve the missing_abi lint. 2024-10-31 10:55:45 +01:00