Skip to content

Commit 33ae322

Browse files
committed
remove unnecessary Debug
1 parent 705e087 commit 33ae322

File tree

1 file changed

+1
-1
lines changed
  • src/librustc/infer/error_reporting

1 file changed

+1
-1
lines changed

src/librustc/infer/error_reporting/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2039,7 +2039,7 @@ impl<'tcx> ObligationCause<'tcx> {
20392039

20402040
/// This is a bare signal of what kind of type we're dealing with. `ty::TyKind` tracks
20412041
/// extra information about each type, but we only care about the category.
2042-
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
2042+
#[derive(Clone, Copy, PartialEq, Eq, Hash)]
20432043
crate enum TyCategory {
20442044
Closure,
20452045
Opaque,

0 commit comments

Comments
 (0)