Copy ty::AssocItem
all other the place
This commit is contained in:
parent
236ddf36b3
commit
a32d392741
17 changed files with 89 additions and 96 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue