Skip to content

Commit 35ee895

Browse files
committed
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
2 parents a555fbd + be7b20e commit 35ee895

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
@@ -2022,10 +2022,6 @@ fn enforce_impl_ty_params_are_constrained<'tcx>(tcx: &ty::ctxt<'tcx>,
20222022
"the type parameter `{}` is not constrained by the \
20232023
impl trait, self type, or predicates",
20242024
param_ty.user_string(tcx));
2025-
tcx.sess.span_help(
2026-
ty_param.span,
2027-
&format!("you can temporarily opt out of this rule by placing \
2028-
the `#[old_impl_check]` attribute on the impl"));
20292025
}
20302026
}
20312027
}

0 commit comments

Comments
 (0)