Align Term methods with GenericArg methods
This commit is contained in:
parent
7c52d2db63
commit
273b990554
23 changed files with 46 additions and 36 deletions
|
@ -58,7 +58,7 @@ fn normalize_canonicalized_projection_ty<'tcx>(
|
|||
// FIXME(associated_const_equality): All users of normalize_canonicalized_projection_ty
|
||||
// expected a type, but there is the possibility it could've been a const now.
|
||||
// Maybe change it to a Term later?
|
||||
Ok(NormalizationResult { normalized_ty: answer.ty().unwrap() })
|
||||
Ok(NormalizationResult { normalized_ty: answer.expect_type() })
|
||||
},
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue