1
Fork 0

Copy ty::AssocItem all other the place

This commit is contained in:
Maybe Waffle 2023-02-06 08:57:34 +00:00
parent 236ddf36b3
commit a32d392741
17 changed files with 89 additions and 96 deletions

View file

@ -326,7 +326,7 @@ impl<T> Trait<T> for X {
diag,
&trait_ref,
pred.bounds,
&assoc,
assoc,
assoc_substs,
ty,
msg,
@ -622,7 +622,7 @@ fn foo(&self) -> Self::T { String::new() }
diag: &mut Diagnostic,
trait_ref: &ty::TraitRef<'tcx>,
bounds: hir::GenericBounds<'_>,
assoc: &ty::AssocItem,
assoc: ty::AssocItem,
assoc_substs: &[ty::GenericArg<'tcx>],
ty: Ty<'tcx>,
msg: &str,
@ -665,7 +665,7 @@ fn foo(&self) -> Self::T { String::new() }
&self,
diag: &mut Diagnostic,
span: Span,
assoc: &ty::AssocItem,
assoc: ty::AssocItem,
assoc_substs: &[ty::GenericArg<'tcx>],
ty: Ty<'tcx>,
msg: &str,