Module rustc::ty::fast_reject[][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_id::DefId;
use ich::StableHashingContext;
use rustc_data_structures::stable_hasher::StableHasher;
use rustc_data_structures::stable_hasher::StableHasherResult;
use rustc_data_structures::stable_hasher::HashStable;
use std::fmt::Debug;
use std::hash::Hash;
use std::mem;
use syntax::ast;
use ty;
use ty::Ty;
use ty::TyCtxt;
use self::SimplifiedTypeGen::*;

Enums

SimplifiedTypeGen [
Experimental
]

See simplify_type

Functions

simplify_type [
Experimental
]

Tries to simplify a type by dropping type parameters, deref'ing away any reference types, etc. The idea is to get something simple that we can use to quickly decide if two types could unify during method lookup.

Type Definitions

SimplifiedType [
Experimental
]