about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-02-15 07:13:02 +0000
committerbors <bors@rust-lang.org>2016-02-15 07:13:02 +0000
commit4ce803837e8a414d20b17274aac5a2cbd06237bc (patch)
tree9379b6bd619a80ef936e0a9a832e202d91bead59 /src/rustllvm/RustWrapper.cpp
parent69ad91290de8416cb309ed303ba0883b12b8017a (diff)
parent81d5d02c3733772f80fc23d834189bde248d68d7 (diff)
downloadrust-4ce803837e8a414d20b17274aac5a2cbd06237bc.tar.gz
rust-4ce803837e8a414d20b17274aac5a2cbd06237bc.zip
Auto merge of #31648 - jseyfried:fix_diagnostics, r=nrc
This PR fixes two unrelated diagnostics bugs in resolve.

First, it reports privacy errors for an import only after the import resolution is determined, fixing #31402.

Second, it expands the per-module map from block ids to anonymous modules so that it also maps module declarations ids to modules, and it uses this map to in `with_scope` to fix #31644.

r? @nrc
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions