Skip to content

Commit 6eed166

Browse files
committed
Remove extra fmt::Debug impl for VtableClosureData from #26147.
1 parent d914831 commit 6eed166

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/librustc/middle/traits/util.rs

-6
Original file line numberDiff line numberDiff line change
@@ -301,12 +301,6 @@ pub fn fresh_type_vars_for_impl<'a, 'tcx>(infcx: &InferCtxt<'a, 'tcx>,
301301
infcx.fresh_substs_for_generics(span, &impl_generics)
302302
}
303303

304-
impl<'tcx, N> fmt::Debug for super::VtableClosureData<'tcx, N> {
305-
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
306-
write!(f, "VtableClosure({:?})", self.closure_def_id)
307-
}
308-
}
309-
310304
/// See `super::obligations_for_generics`
311305
pub fn predicates_for_generics<'tcx>(cause: ObligationCause<'tcx>,
312306
recursion_depth: usize,

0 commit comments

Comments
 (0)