We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91afd02 commit 06a1e88Copy full SHA for 06a1e88
compiler/rustc_middle/src/ty/subst.rs
@@ -499,6 +499,7 @@ impl<'tcx> TypeFoldable<'tcx> for &'tcx ty::List<Ty<'tcx>> {
499
}
500
501
// Just call `foo.subst(tcx, substs)` to perform a substitution across `foo`.
502
+#[rustc_on_unimplemented(message = "Calling `subst` must now be done through an `EarlyBinder`")]
503
pub trait Subst<'tcx>: Sized {
504
type Inner;
505
0 commit comments