diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-04-12 23:16:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-12 23:16:56 +0200 |
| commit | 2743c13de071a637c28fc22fba34947aa29bcc17 (patch) | |
| tree | e2836c8926ffb59bf8703937f12bf590844d35de /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 0ec00c0ba3f2fdede6700af7b8f4438b5d7afebe (diff) | |
| parent | 276b94601025152a2cf5668a53a96fae94f37731 (diff) | |
| download | rust-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
