Rollup merge of #122038 - Alexendoo:unused-qualifications, r=petrochenkov

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`````
This commit is contained in:
Matthias Krüger 2024-03-06 22:02:47 +01:00 committed by GitHub
commit 39d4cdf060
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

Diff content is not available