mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-15 08:46:41 +00:00

Fix linting paths with qself in `unused_qualifications`
Fixes #121999
`resolve_qpath` ends up being called again with `qself` set to `None` to check trait items from fully qualified paths. To avoid this the lint is moved to a place that accounts for this already
96561a8fd1/compiler/rustc_resolve/src/late.rs (L4074-L4088)
r? `````@petrochenkov`````