Skip to content

Commit a2fe59a

Browse files
committed
rustc_trans: explicit impl population is unnecessary in fulfill_obligation.
1 parent 70365ed commit a2fe59a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/librustc_trans/trans/common.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,6 @@ pub fn fulfill_obligation<'a, 'tcx>(ccx: &CrateContext<'a, 'tcx>,
874874
debug!("trans fulfill_obligation: trait_ref={:?} def_id={:?}",
875875
trait_ref, trait_ref.def_id());
876876

877-
tcx.populate_implementations_for_trait_if_necessary(trait_ref.def_id());
878877

879878
// Do the initial selection for the obligation. This yields the
880879
// shallow result we are looking for -- that is, what specific impl.

0 commit comments

Comments
 (0)