about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2015-02-16 12:50:42 -0500
committerNiko Matsakis <niko@alum.mit.edu>2015-02-16 12:50:42 -0500
commitbe7b20e16d4ff074a5a875e2603034b763e6b0e9 (patch)
tree4fa9028aa8ce1abb03eb3b11dc414763213d3ad9
parentc5db290bf6df986a6acd5ce993f278c18e55ca37 (diff)
downloadrust-be7b20e16d4ff074a5a875e2603034b763e6b0e9.tar.gz
rust-be7b20e16d4ff074a5a875e2603034b763e6b0e9.zip
Stop advertisting the `old_impl_check` feature. We can't ENTIRELY
remove it yet, but we don't have to add new uses.
-rw-r--r--src/librustc_typeck/collect.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/librustc_typeck/collect.rs b/src/librustc_typeck/collect.rs
index 8a1945c16a6..4ec208db93d 100644
--- a/src/librustc_typeck/collect.rs
+++ b/src/librustc_typeck/collect.rs
@@ -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"));
             }
         }
     }