Align Term methods with GenericArg methods
This commit is contained in:
parent
7c52d2db63
commit
273b990554
23 changed files with 46 additions and 36 deletions
|
@ -263,7 +263,7 @@ fn push_debuginfo_type_name<'tcx>(
|
|||
let ExistentialProjection { def_id: item_def_id, term, .. } =
|
||||
tcx.instantiate_bound_regions_with_erased(bound);
|
||||
// FIXME(associated_const_equality): allow for consts here
|
||||
(item_def_id, term.ty().unwrap())
|
||||
(item_def_id, term.expect_type())
|
||||
})
|
||||
.collect();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue