rust/src/librustc_resolve
bors 4ce803837e 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
2016-02-15 07:13:02 +00:00
..
build_reduced_graph.rs Rename Module field anonymous_children to module_children, expand it to include both named an anonymous modules, and fix #31644 2016-02-14 09:05:37 +00:00
Cargo.toml bootstrap: Add a bunch of Cargo.toml files 2016-02-11 11:12:32 -08:00
check_unused.rs Spans now derive equality 2016-02-01 10:18:50 +13:00
diagnostics.rs Update long error explanations 2016-02-07 13:03:35 +01:00
lib.rs Rename Module field anonymous_children to module_children, expand it to include both named an anonymous modules, and fix #31644 2016-02-14 09:05:37 +00:00
resolve_imports.rs Auto merge of #31648 - jseyfried:fix_diagnostics, r=nrc 2016-02-15 07:13:02 +00:00