mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-25 23:14:12 +00:00
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:
parent
c5db290bf6
commit
be7b20e16d
@ -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"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user