initial revert
This commit is contained in:
@@ -54,10 +54,6 @@ impl<'tcx> BoundVarsCollector<'tcx> {
|
||||
impl<'tcx> TypeVisitor<'tcx> for BoundVarsCollector<'tcx> {
|
||||
type BreakTy = ();
|
||||
|
||||
fn tcx_for_anon_const_substs(&self) -> Option<TyCtxt<'tcx>> {
|
||||
// Anon const substs do not contain bound vars by default.
|
||||
None
|
||||
}
|
||||
fn visit_binder<T: TypeFoldable<'tcx>>(
|
||||
&mut self,
|
||||
t: &Binder<'tcx, T>,
|
||||
|
||||
Reference in New Issue
Block a user