diff --git a/src/librustc_typeck/check/method/suggest.rs b/src/librustc_typeck/check/method/suggest.rs index aae7912cace..45fe51239a8 100644 --- a/src/librustc_typeck/check/method/suggest.rs +++ b/src/librustc_typeck/check/method/suggest.rs @@ -41,7 +41,6 @@ use super::probe::Mode; fn is_fn_ty<'a, 'tcx>(ty: &Ty<'tcx>, fcx: &FnCtxt<'a, 'tcx>, span: Span) -> bool { let cx = fcx.tcx(); - println!("{:?}", ty); match ty.sty { // Not all of these (e.g. unsafe fns) implement FnOnce // so we look for these beforehand