]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_typeck/check/mod.rs
Auto merge of #62542 - Centril:rollup-5mpb8tu, r=Centril
[rust.git] / src / librustc_typeck / check / mod.rs
index d8c73b2be8258d7416ebd0aea69facb56cede685..4acba6d38fa25e993d3f5e20b9f033e4c26eea3c 100644 (file)
@@ -1065,6 +1065,7 @@ fn check_fn<'a, 'tcx>(
         &declared_ret_ty,
         decl.output.span(),
     );
+    debug!("check_fn: declared_ret_ty: {}, revealed_ret_ty: {}", declared_ret_ty, revealed_ret_ty);
     fcx.ret_coercion = Some(RefCell::new(CoerceMany::new(revealed_ret_ty)));
     fn_sig = fcx.tcx.mk_fn_sig(
         fn_sig.inputs().iter().cloned(),