rust/compiler/rustc_resolve/src
Matthias Krüger e93a3d1d93
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`````
2024-03-06 22:02:47 +01:00
..
diagnostics Implement the unused_macro_rules lint 2022-05-05 19:13:00 +02:00
late Rename DiagnosticMetadata as DiagMetadata. 2024-03-05 12:15:13 +11:00
build_reduced_graph.rs By tracking import use types to check whether it is scope uses or the other situations like module-relative uses, we can do more accurate redundant import checking. 2024-02-18 16:38:11 +08:00
check_unused.rs Rename BuiltinLintDiagnostics as BuiltinLintDiag. 2024-03-05 12:15:10 +11:00
def_collector.rs By tracking import use types to check whether it is scope uses or the other situations like module-relative uses, we can do more accurate redundant import checking. 2024-02-18 16:38:11 +08:00
diagnostics.rs avoid overlapping privacy suggestion for single nested imports 2024-03-06 21:17:12 +08:00
effective_visibilities.rs Delegation implementation: step 1 2024-01-12 14:11:16 +03:00
errors.rs Rollup merge of #121130 - chenyukang:yukang-fix-121061-macro-later, r=matthiaskrgr 2024-03-04 07:57:56 +01:00
ident.rs avoid overlapping privacy suggestion for single nested imports 2024-03-06 21:17:12 +08:00
imports.rs avoid overlapping privacy suggestion for single nested imports 2024-03-06 21:17:12 +08:00
late.rs Rollup merge of #122038 - Alexendoo:unused-qualifications, r=petrochenkov 2024-03-06 22:02:47 +01:00
lib.rs avoid overlapping privacy suggestion for single nested imports 2024-03-06 21:17:12 +08:00
macros.rs Rename BuiltinLintDiagnostics as BuiltinLintDiag. 2024-03-05 12:15:10 +11:00
rustdoc.rs NFC don't convert types to identical types 2023-12-15 23:56:24 +01:00