mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 12:36:35 +03: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:
@@ -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"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user