Module rustc_mir::monomorphize[][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?

Re-exports

use rustc::hir::def_id::DefId;
use rustc::middle::lang_items::DropInPlaceFnLangItem;
use rustc::traits;
use rustc::ty::adjustment::CustomCoerceUnsized;
use rustc::ty::subst::Kind;
use rustc::ty;
use rustc::ty::Ty;
use rustc::ty::TyCtxt;
pub use self::item::MonoItemExt;

Modules

collector [
Experimental
]

Mono Item Collection

item [
Experimental
]

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.

partitioning [
Experimental
]

Partitioning Codegen Units for Incremental Compilation

Structs

Instance [
Experimental
]

Enums

MonoItem [
Experimental
]

Functions

assert_symbols_are_distinct [
Experimental
]
custom_coerce_unsize_info [
Experimental
]
fn_once_adapter_instance [
Experimental
]
needs_fn_once_adapter_shim [
Experimental
]
resolve_closure [
Experimental
]
resolve_drop_in_place [
Experimental
]