Function rustc_trans::middle::ty::hash_crate_independentExperimental [-]  [+] [src]

pub fn hash_crate_independent(tcx: &ctxt, ty: &TyS, svh: &Svh) -> u64

Creates a hash of the type Ty which will be the same no matter what crate context it's calculated within. This is used by the type_id intrinsic.