Trait rustc_lint::middle::cstore::tls::DecodingContext
[−]
[src]
pub trait DecodingContext<'tcx> {
fn tcx(&'a self) -> TyCtxt<'a, 'tcx, 'tcx>;
fn decode_ty(&self, decoder: &mut Decoder) -> &'tcx TyS<'tcx>;
fn decode_substs(&self, decoder: &mut Decoder) -> Substs<'tcx>;
fn translate_def_id(&self, def_id: DefId) -> DefId;
}Unstable (
rustc_private)Required Methods
fn tcx(&'a self) -> TyCtxt<'a, 'tcx, 'tcx>
Unstable (
rustc_private)fn decode_ty(&self, decoder: &mut Decoder) -> &'tcx TyS<'tcx>
Unstable (
rustc_private)fn decode_substs(&self, decoder: &mut Decoder) -> Substs<'tcx>
Unstable (
rustc_private)fn translate_def_id(&self, def_id: DefId) -> DefId
Unstable (
rustc_private)