Skip to content

Commit

Permalink
rustc_trans: explicit impl population is unnecessary in fulfill_oblig…
Browse files Browse the repository at this point in the history
…ation.
  • Loading branch information
eddyb committed Jul 4, 2015
1 parent 70365ed commit a2fe59a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/librustc_trans/trans/common.rs
Expand Up @@ -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.
Expand Down

0 comments on commit a2fe59a

Please sign in to comment.