change usage of bound_impl_subject to impl_subject
This commit is contained in:
parent
e4dae0dac7
commit
dcc51f1ef5
@ -306,7 +306,7 @@ fn negative_impl(tcx: TyCtxt<'_>, impl1_def_id: DefId, impl2_def_id: DefId) -> b
|
|||||||
&infcx,
|
&infcx,
|
||||||
ObligationCause::dummy(),
|
ObligationCause::dummy(),
|
||||||
impl_env,
|
impl_env,
|
||||||
tcx.impl_subject(impl1_def_id),
|
tcx.bound_impl_subject(impl1_def_id).subst_identity(),
|
||||||
) {
|
) {
|
||||||
Ok(s) => s,
|
Ok(s) => s,
|
||||||
Err(err) => {
|
Err(err) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user