Stop advertisting the old_impl_check feature. We can't ENTIRELY

remove it yet, but we don't have to add new uses.
This commit is contained in:
Niko Matsakis 2015-02-16 12:50:42 -05:00
parent c5db290bf6
commit be7b20e16d

View File

@ -1903,10 +1903,6 @@ fn enforce_impl_ty_params_are_constrained<'tcx>(tcx: &ty::ctxt<'tcx>,
"the type parameter `{}` is not constrained by the \ "the type parameter `{}` is not constrained by the \
impl trait, self type, or predicates", impl trait, self type, or predicates",
param_ty.user_string(tcx)); 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"));
} }
} }
} }