1
Fork 0

Try to fix problem

This commit is contained in:
Deadbeef 2021-07-24 23:32:43 +08:00
parent 779eef2dae
commit a00f2bcf5c
No known key found for this signature in database
GPG key ID: 027DF9338862ADDD
2 changed files with 17 additions and 4 deletions

View file

@ -1084,11 +1084,12 @@ impl<'a, 'tcx> TypeChecker<'a, 'tcx> {
span_mirbug!(
self,
user_annotation,
"bad user type AscribeUserType({:?}, {:?} {:?}): {:?}",
"bad user type AscribeUserType({:?}, {:?} {:?}, type_of={:?}): {:?}",
inferred_ty,
def_id,
user_substs,
terr
self.tcx().type_of(def_id),
terr,
);
}
}