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 @@ impl trait, self type, or predicates", "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")); } } }