ProjectionTy.item_def_id -> ProjectionTy.def_id
This commit is contained in:
@@ -235,7 +235,7 @@ fn push_debuginfo_type_name<'tcx>(
|
||||
let projection_bounds: SmallVec<[_; 4]> = trait_data
|
||||
.projection_bounds()
|
||||
.map(|bound| {
|
||||
let ExistentialProjection { item_def_id, term, .. } =
|
||||
let ExistentialProjection { def_id: item_def_id, term, .. } =
|
||||
tcx.erase_late_bound_regions(bound);
|
||||
// FIXME(associated_const_equality): allow for consts here
|
||||
(item_def_id, term.ty().unwrap())
|
||||
|
||||
Reference in New Issue
Block a user