From a2fe59afd66f032bea04f55fdb8beb00b53b65d7 Mon Sep 17 00:00:00 2001 From: Eduard Burtescu Date: Thu, 2 Jul 2015 09:11:36 +0300 Subject: [PATCH] rustc_trans: explicit impl population is unnecessary in fulfill_obligation. --- src/librustc_trans/trans/common.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/librustc_trans/trans/common.rs b/src/librustc_trans/trans/common.rs index ed2d303b5e1b6..8282eb734f2b9 100644 --- a/src/librustc_trans/trans/common.rs +++ b/src/librustc_trans/trans/common.rs @@ -874,7 +874,6 @@ pub fn fulfill_obligation<'a, 'tcx>(ccx: &CrateContext<'a, 'tcx>, debug!("trans fulfill_obligation: trait_ref={:?} def_id={:?}", trait_ref, trait_ref.def_id()); - tcx.populate_implementations_for_trait_if_necessary(trait_ref.def_id()); // Do the initial selection for the obligation. This yields the // shallow result we are looking for -- that is, what specific impl.