improved debug output
This commit is contained in:
parent
44e801aca6
commit
c8e58512d4
1 changed files with 6 additions and 0 deletions
|
@ -595,6 +595,12 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
|
|||
) -> ty::PolyFnSig<'tcx> {
|
||||
let astconv: &dyn AstConv<'_> = self;
|
||||
|
||||
debug!(
|
||||
"supplied_sig_of_closure(decl={:?}, body.generator_kind={:?})",
|
||||
decl,
|
||||
body.generator_kind,
|
||||
);
|
||||
|
||||
// First, convert the types that the user supplied (if any).
|
||||
let supplied_arguments = decl.inputs.iter().map(|a| astconv.ast_ty_to_ty(a));
|
||||
let supplied_return = match decl.output {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue