Module rustc_mir::monomorphize::item [−][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?
Walks the crate looking for items/impl-items/trait-items that have
either a rustc_symbol_name
or rustc_item_path
attribute and
generates an error giving, respectively, the symbol name or
item-path. This is used for unit testing the code that generates
paths etc in all kinds of annoying scenarios.
Re-exports
use monomorphize::Instance; |
use rustc::hir; |
use rustc::hir::def_id::DefId; |
use rustc::session::config::OptLevel; |
use rustc::ty; |
use rustc::ty::Ty; |
use rustc::ty::TyCtxt; |
use rustc::ty::subst::Substs; |
use syntax::ast; |
use syntax::attr::InlineAttr; |
use std::fmt; |
use std::fmt::Write; |
use std::iter; |
use rustc::mir::mono::Linkage; |
use syntax_pos::symbol::Symbol; |
use syntax::codemap::Span; |
Structs
DefPathBasedNames |
[ Experimental ] Same as |
Enums
InstantiationMode |
[ Experimental ] Describes how a translation item will be instantiated in object files. |
MonoItem |
[ Experimental ]
|
Traits
MonoItemExt |
[ Experimental ]
|