/// Records a trait-to-implementation mapping for a crate-local impl.
Records a trait-to-implementation mapping for a crate-local impl.
Records a trait - to - implementation mapping for a crate - local impl .
pub fn record_local_impl(&self, tcx: TyCtxt<'a, 'gcx, 'tcx>,
                             impl_def_id: DefId,
                             impl_trait_ref: TraitRef<'tcx>) {
        assert!(impl_def_id.is_local());
        let was_new = self.record_impl(tcx, impl_def_id, impl_trait_ref);
        assert!(was_new);
    }
pub fn record_local_impl ( & self , tcx : TyCtxt < ' a , ' gcx , ' tcx > , impl_def_id : DefId , impl_trait_ref : TraitRef < ' tcx > ) { assert ! ( impl_def_id is_local ( ) ) ; let was_new = self . record_impl ( tcx , impl_def_id , impl_trait_ref ) ; assert ! ( was_new ) ; }
Records a trait-to-implementation mapping for a crate-local impl.
Records a trait - to - implementation mapping for a crate - local impl .
&self
tcx
TyCtxt<'a, 'gcx, 'tcx>
impl_def_id
DefId
impl_trait_ref
TraitRef<'tcx>