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

pub fn populate_implementations_for_trait_if_necessary(tcx: &ctxt, trait_id: DefId)

Populates the type context with all the implementations for the given trait if necessary.