about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2019-08-05 21:18:50 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2019-08-10 13:15:15 +0300
commite2e8746acc1d4fd236552a59f54b732680b4524e (patch)
treedec766d81966df1c227c3ee40aabe3072c0df202 /src/test/debuginfo/enum-thinlto.rs
parentd19a359444295bab01de7ff44a9d72302e573bc9 (diff)
downloadrust-e2e8746acc1d4fd236552a59f54b732680b4524e.tar.gz
rust-e2e8746acc1d4fd236552a59f54b732680b4524e.zip
resolve: Move late resolution into a separate visitor
Move `Resolver` fields specific to late resolution to the new visitor.
The `current_module` field from `Resolver` is replaced with two `current_module`s in `LateResolutionVisitor` and `BuildReducedGraphVisitor`.
Outside of those visitors `current_module` is replaced by passing `parent_scope` to more functions and using the parent module from it.

Visibility resolution no longer have access to later resolution methods and has to use early resolution, so its diagnostics in case of errors regress slightly.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions