Module rustc::ty::maps::keys[][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?

Defines the set of legal keys that can be used in queries.

Re-exports

use hir::def_id::CrateNum;
use hir::def_id::DefId;
use hir::def_id::LOCAL_CRATE;
use hir::def_id::DefIndex;
use traits::query::CanonicalPredicateGoal;
use traits::query::CanonicalProjectionGoal;
use traits::query::CanonicalTyGoal;
use ty;
use ty::Ty;
use ty::TyCtxt;
use ty::subst::Substs;
use ty::fast_reject::SimplifiedType;
use mir;
use std::fmt::Debug;
use std::hash::Hash;
use syntax_pos::Span;
use syntax_pos::DUMMY_SP;
use syntax_pos::symbol::InternedString;

Traits

Key [
Experimental
]

The Key trait controls what types can legally be used as the key for a query.