mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
Moved ReducedGraphParent building to a new module
This commit is contained in:
parent
023dfb0c89
commit
be00b9dc40
1339
src/librustc_resolve/build_reduced_graph.rs
Normal file
1339
src/librustc_resolve/build_reduced_graph.rs
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -21,6 +21,8 @@
|
||||
use {Module, NameBindings, Resolver};
|
||||
use Namespace::{mod, TypeNS, ValueNS};
|
||||
|
||||
use build_reduced_graph;
|
||||
|
||||
use rustc::middle::def::Export;
|
||||
use syntax::ast;
|
||||
use syntax::parse::token;
|
||||
@ -73,7 +75,7 @@ impl<'a, 'b, 'tcx> ExportRecorder<'a, 'b, 'tcx> {
|
||||
}
|
||||
|
||||
self.record_exports_for_module(&*module_);
|
||||
self.populate_module_if_necessary(&module_);
|
||||
build_reduced_graph::populate_module_if_necessary(self.resolver, &module_);
|
||||
|
||||
for (_, child_name_bindings) in module_.children.borrow().iter() {
|
||||
match child_name_bindings.get_module_if_available() {
|
||||
|
Loading…
Reference in New Issue
Block a user