rust/compiler/rustc_resolve/src
bors 8cd7d86ce2 Auto merge of #83103 - petrochenkov:unilex, r=Aaron1011
resolve: Partially unify early and late scope-relative identifier resolution

Reuse `early_resolve_ident_in_lexical_scope` instead of a chunk of code in `resolve_ident_in_lexical_scope` doing the same job.

`early_resolve_ident_in_lexical_scope`/`visit_scopes` had to be slightly extended to be able to 1) start from a specific module instead of the current parent scope and 2) report one deprecation lint.
`early_resolve_ident_in_lexical_scope` still doesn't support walking through "ribs", that part is left in `resolve_ident_in_lexical_scope` (moreover, I'm pretty sure it's buggy, but that's a separate issue, cc https://github.com/rust-lang/rust/issues/52389 at least).
2021-03-27 22:19:17 +00:00
..
late Rollup merge of #82917 - cuviper:iter-zip, r=m-ou-se 2021-03-27 20:37:07 +01:00
build_reduced_graph.rs ast/hir: Rename field-related structures 2021-03-16 11:41:24 +03:00
check_unused.rs Attach TokenStream to ast::Visibility 2020-09-10 17:33:06 -04:00
def_collector.rs ast/hir: Rename field-related structures 2021-03-16 11:41:24 +03:00
diagnostics.rs resolve: Partially unify early and late scope-relative ident resolution 2021-03-27 23:38:17 +03:00
imports.rs Fix ICE with use clippy:🅰️:b; 2021-03-21 14:20:28 -07:00
late.rs lazily calls some fns 2021-03-27 10:20:32 +03:00
lib.rs Auto merge of #83103 - petrochenkov:unilex, r=Aaron1011 2021-03-27 22:19:17 +00:00
macros.rs resolve: Partially unify early and late scope-relative ident resolution 2021-03-27 23:38:17 +03:00