Skip to content

Commit be7b20e

Browse files
committed
Stop advertisting the old_impl_check feature. We can't ENTIRELY
remove it yet, but we don't have to add new uses.
1 parent c5db290 commit be7b20e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/librustc_typeck/collect.rs

-4
Original file line numberDiff line numberDiff line change
@@ -1903,10 +1903,6 @@ fn enforce_impl_ty_params_are_constrained<'tcx>(tcx: &ty::ctxt<'tcx>,
19031903
"the type parameter `{}` is not constrained by the \
19041904
impl trait, self type, or predicates",
19051905
param_ty.user_string(tcx));
1906-
tcx.sess.span_help(
1907-
ty_param.span,
1908-
&format!("you can temporarily opt out of this rule by placing \
1909-
the `#[old_impl_check]` attribute on the impl"));
19101906
}
19111907
}
19121908
}

0 commit comments

Comments
 (0)