Module rustc::middle::intrinsicck[][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 hir::def::Def;
use hir::def_id::DefId;
use ty;
use ty::Ty;
use ty::TyCtxt;
use ty::layout::LayoutError;
use ty::layout::Pointer;
use ty::layout::SizeSkeleton;
use rustc_target::spec::abi::Abi::RustIntrinsic;
use syntax_pos::Span;
use hir::intravisit;
use hir::intravisit::Visitor;
use hir::intravisit::NestedVisitorMap;
use hir;

Structs

ExprVisitor [
Experimental
]
ItemVisitor [
Experimental
]

Functions

check_crate [
Experimental
]
unpack_option_like [
Experimental
]

If the type is Option<T>, it will return T, otherwise the type itself. Works on most Option-like types.