1
Fork 0

replace unnecessary folder impls with fold_region

This commit is contained in:
lcnr 2023-11-15 17:40:54 +00:00
parent 00bfd6b273
commit 41cfb20abb
4 changed files with 15 additions and 51 deletions

View file

@ -75,7 +75,7 @@ impl<'a> DescriptionCtx<'a> {
// We shouldn't really be having unification failures with ReVar
// and ReBound though.
//
// FIXME(@lcnr): figure out why we `ReBound` have to handle `ReBound`
// FIXME(@lcnr): figure out why we have to handle `ReBound`
// here, this feels somewhat off.
ty::ReVar(_) | ty::ReBound(..) | ty::ReErased => {
(alt_span, "revar", format!("{region:?}"))