Module rustc_resolve::build_reduced_graph[][src]

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Reduced graph building

Here we build the "reduced graph": the graph of the module tree without any imports resolved.

Re-exports

use macros::InvocationData;
use macros::LegacyScope;
use resolve_imports::ImportDirective;
use resolve_imports::ImportDirectiveSubclass;
use resolve_imports::ImportDirectiveSubclass::GlobImport;
use resolve_imports::ImportDirectiveSubclass::SingleImport;
use Module;
use ModuleData;
use ModuleKind;
use NameBinding;
use NameBindingKind;
use ToNameBinding;
use PerNS;
use Resolver;
use ResolverArenas;
use Namespace;
use Namespace::TypeNS;
use Namespace::ValueNS;
use Namespace::MacroNS;
use resolve_error;
use resolve_struct_error;
use ResolutionError;
use rustc::middle::cstore::LoadedMacro;
use rustc::hir::def::*;
use rustc::hir::def_id::BUILTIN_MACROS_CRATE;
use rustc::hir::def_id::CRATE_DEF_INDEX;
use rustc::hir::def_id::LOCAL_CRATE;
use rustc::hir::def_id::DefId;
use rustc::ty;
use std::cell::Cell;
use rustc_data_structures::sync::Lrc;
use syntax::ast::Name;
use syntax::ast::Ident;
use syntax::attr;
use syntax::ast;
use syntax::ast::Block;
use syntax::ast::ForeignItem;
use syntax::ast::ForeignItemKind;
use syntax::ast::Item;
use syntax::ast::ItemKind;
use syntax::ast::NodeId;
use syntax::ast::Mutability;
use syntax::ast::StmtKind;
use syntax::ast::TraitItem;
use syntax::ast::TraitItemKind;
use syntax::ast::Variant;
use syntax::ext::base::SyntaxExtension;
use syntax::ext::base::Determinacy::Undetermined;
use syntax::ext::hygiene::Mark;
use syntax::ext::tt::macro_rules;
use syntax::parse::token;
use syntax::parse::token::Token;
use syntax::std_inject::injected_crate_name;
use syntax::symbol::keywords;
use syntax::visit;
use syntax::visit::Visitor;
use syntax_pos::Span;
use syntax_pos::DUMMY_SP;

Structs

BuildReducedGraphVisitor [
Experimental
]
LegacyMacroImports [
Experimental
]