diff options
| -rw-r--r-- | src/librustc_typeck/check/mod.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/librustc_typeck/check/mod.rs b/src/librustc_typeck/check/mod.rs index d8cedb81ac8..78168f8db71 100644 --- a/src/librustc_typeck/check/mod.rs +++ b/src/librustc_typeck/check/mod.rs @@ -1015,10 +1015,6 @@ fn check_fn<'a, 'gcx, 'tcx>(inherited: &'a Inherited<'a, 'gcx, 'tcx>, let def_id = fcx.tcx.hir.local_def_id(fn_id); let span = body.value.span; - if fcx.tcx.sess.verbose() { - println!("checking body {} {}", fn_id, can_be_generator); - } - if let Some(ref impl_arg) = body.impl_arg { if can_be_generator { let impl_arg_ty = fcx.infcx.type_var_for_impl_arg(span, def_id); |
