about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-04-12 23:16:56 +0200
committerGitHub <noreply@github.com>2022-04-12 23:16:56 +0200
commit2743c13de071a637c28fc22fba34947aa29bcc17 (patch)
treee2836c8926ffb59bf8703937f12bf590844d35de /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent0ec00c0ba3f2fdede6700af7b8f4438b5d7afebe (diff)
parent276b94601025152a2cf5668a53a96fae94f37731 (diff)
downloadrust-2743c13de071a637c28fc22fba34947aa29bcc17.tar.gz
rust-2743c13de071a637c28fc22fba34947aa29bcc17.zip
Rollup merge of #95405 - cjgillot:probe, r=petrochenkov
Move name resolution logic to a dedicated file

The code resolution logic from an Ident is scattered between several files.

The first commits creates `rustc_resolve::probe` module to hold the different mutually recursive functions together. Just a move, no code change.
The following commits attempt to make the logic a bit more readable.

The two fields `last_import_segment` and `unusable_binding` are replaced by function parameters.
In order to manage the fallout, `maybe_` variants of the function are added, dedicated to speculative resolution.

r? `@petrochenkov`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions