rust/compiler/rustc_ast_lowering/src
bors 46244f335b Auto merge of #99292 - Aaron1011:stability-use-tree, r=cjgillot
Correctly handle path stability for 'use tree' items

PR #95956 started checking the stability of path segments.
However, this was not applied to 'use tree' items
(e.g. 'use some::path::{ItemOne, ItemTwo}') due to the way
that we desugar these items in HIR lowering.

This PR modifies 'use tree' lowering to preserve resolution
information, which is needed by stability checking.
2022-10-15 04:27:15 +00:00
..
asm.rs rustc_hir: Less error-prone methods for accessing PartialRes resolution 2022-10-11 09:04:52 +04:00
block.rs Rollup merge of #93628 - est31:stabilize_let_else, r=joshtriplett 2022-09-17 15:31:06 +05:30
errors.rs errors: AddToDiagnostic::add_to_diagnostic_with 2022-10-10 14:20:16 +01:00
expr.rs rustc_hir: Less error-prone methods for accessing PartialRes resolution 2022-10-11 09:04:52 +04:00
index.rs separate definitions and HIR owners 2022-09-24 23:21:19 +09:00
item.rs Auto merge of #99292 - Aaron1011:stability-use-tree, r=cjgillot 2022-10-15 04:27:15 +00:00
lib.rs Auto merge of #99292 - Aaron1011:stability-use-tree, r=cjgillot 2022-10-15 04:27:15 +00:00
lifetime_collector.rs Remove path_span argument to the visit_path_segment methods. 2022-09-12 13:24:25 +10:00
pat.rs rustc_hir: Less error-prone methods for accessing PartialRes resolution 2022-10-11 09:04:52 +04:00
path.rs rustc_hir: Less error-prone methods for accessing PartialRes resolution 2022-10-11 09:04:52 +04:00