Skip to content
Permalink
Browse files

remove unnecessary `Debug`

  • Loading branch information
estebank committed Jan 8, 2020
1 parent 705e087 commit 33ae3220b638551834fddf5c0658563d8a52e89a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/librustc/infer/error_reporting/mod.rs
@@ -2039,7 +2039,7 @@ impl<'tcx> ObligationCause<'tcx> {

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

0 comments on commit 33ae322

Please sign in to comment.
You can’t perform that action at this time.