1
Fork 0

Normalize obligations for closure confirmation

This commit is contained in:
jackh726 2021-08-28 17:48:30 -04:00
parent 347d503333
commit cacc3ee801
17 changed files with 263 additions and 87 deletions

View file

@ -744,6 +744,7 @@ pub trait PrettyPrinter<'tcx>:
p!(print_def_path(did, substs));
if !substs.as_closure().is_valid() {
p!(" closure_substs=(unavailable)");
p!(write(" substs={:?}", substs));
} else {
p!(" closure_kind_ty=", print(substs.as_closure().kind_ty()));
p!(