Skip to content

Commit

Permalink
change usage of bound_impl_subject to impl_subject
Browse files Browse the repository at this point in the history
  • Loading branch information
kylematsuda committed Apr 13, 2023
1 parent e4dae0d commit dcc51f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_trait_selection/src/traits/coherence.rs
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ fn negative_impl(tcx: TyCtxt<'_>, impl1_def_id: DefId, impl2_def_id: DefId) -> b
&infcx,
ObligationCause::dummy(),
impl_env,
tcx.impl_subject(impl1_def_id),
tcx.bound_impl_subject(impl1_def_id).subst_identity(),
) {
Ok(s) => s,
Err(err) => {
Expand Down

0 comments on commit dcc51f1

Please sign in to comment.