print more information for closures when -Zverbose
is given
Ideally, we'd probably print the closure substs themselves actually.
This commit is contained in:
parent
f47ec2ad5b
commit
378741b703
1 changed files with 9 additions and 0 deletions
|
@ -1430,6 +1430,15 @@ define_print! {
|
|||
}
|
||||
}
|
||||
|
||||
if cx.is_verbose {
|
||||
write!(
|
||||
f,
|
||||
" closure_kind_ty={:?} closure_sig_ty={:?}",
|
||||
substs.closure_kind_ty(did, tcx),
|
||||
substs.closure_sig_ty(did, tcx),
|
||||
)?;
|
||||
}
|
||||
|
||||
write!(f, "]")
|
||||
}),
|
||||
Array(ty, sz) => {
|
||||
|
|
Loading…
Reference in a new issue