From be7b20e16d4ff074a5a875e2603034b763e6b0e9 Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Mon, 16 Feb 2015 12:50:42 -0500 Subject: [PATCH] Stop advertisting the `old_impl_check` feature. We can't ENTIRELY remove it yet, but we don't have to add new uses. --- src/librustc_typeck/collect.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/librustc_typeck/collect.rs b/src/librustc_typeck/collect.rs index 8a1945c16a6a..4ec208db93d9 100644 --- a/src/librustc_typeck/collect.rs +++ b/src/librustc_typeck/collect.rs @@ -1903,10 +1903,6 @@ fn enforce_impl_ty_params_are_constrained<'tcx>(tcx: &ty::ctxt<'tcx>, "the type parameter `{}` is not constrained by the \ impl trait, self type, or predicates", param_ty.user_string(tcx)); - tcx.sess.span_help( - ty_param.span, - &format!("you can temporarily opt out of this rule by placing \ - the `#[old_impl_check]` attribute on the impl")); } } }