diff options
| author | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2017-07-15 03:50:43 +0200 |
|---|---|---|
| committer | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2017-07-28 15:46:25 +0200 |
| commit | dcddd807297765b85f11c05f68f0845cc8d372aa (patch) | |
| tree | a541b110468c06f306d8fe624c78512289649fe6 /src | |
| parent | a602fc06bdc1570e48761542cf06e6b051e802d6 (diff) | |
Remove debug code
Diffstat (limited to 'src')
| -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); |
