Rollup merge of #22409 - nikomatsakis:stop-advertisting-old-impl-check, r=aturon

Stop advertisting the `old_impl_check` feature. We can't ENTIRELY remove it yet, but we don't have to add new uses.

r? @aturon
This commit is contained in:
Manish Goregaokar 2015-02-17 06:25:55 +05:30
commit 35ee89599c

View File

@ -2022,10 +2022,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"));
} }
} }
} }