change usage of bound_impl_subject to impl_subject
This commit is contained in:
parent
e4dae0dac7
commit
dcc51f1ef5
1 changed files with 1 additions and 1 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue