diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-02-17 06:25:55 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-02-17 06:25:55 +0530 |
| commit | 35ee89599cb50be74270e6475f4bbe182e769892 (patch) | |
| tree | 1882291406d52c1ddd8617eb4fa4a49964a0f1d7 | |
| parent | a555fbd88c277fef0d2ca7f71ab00b0dbcb268dc (diff) | |
| parent | be7b20e16d4ff074a5a875e2603034b763e6b0e9 (diff) | |
| download | rust-35ee89599cb50be74270e6475f4bbe182e769892.tar.gz rust-35ee89599cb50be74270e6475f4bbe182e769892.zip | |
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
| -rw-r--r-- | src/librustc_typeck/collect.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/librustc_typeck/collect.rs b/src/librustc_typeck/collect.rs index f26041dbbe1..44e850a0738 100644 --- a/src/librustc_typeck/collect.rs +++ b/src/librustc_typeck/collect.rs @@ -2022,10 +2022,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")); } } } |
