Function rustc::middle::ty::hash_crate_independent[src]

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

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