Normalize obligations for closure confirmation
This commit is contained in:
parent
347d503333
commit
cacc3ee801
17 changed files with 263 additions and 87 deletions
|
@ -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!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue