Move opt_rpitit_info field to hir::AssocKind::Type.
From `hir::AssocItem`.
This commit is contained in:
@@ -499,7 +499,7 @@ fn suggestion_signature<'tcx>(
|
||||
tcx.predicates_of(assoc.def_id).instantiate_own(tcx, args),
|
||||
assoc,
|
||||
),
|
||||
ty::AssocKind::Type => {
|
||||
ty::AssocKind::Type { .. } => {
|
||||
let (generics, where_clauses) = bounds_from_generic_predicates(
|
||||
tcx,
|
||||
tcx.predicates_of(assoc.def_id).instantiate_own(tcx, args),
|
||||
|
||||
Reference in New Issue
Block a user