Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 1f8f863

Browse files
committed
Revert accidental removal of attributes
1 parent 1e1f219 commit 1f8f863

File tree

1 file changed

+2
-2
lines changed
  • compiler/rustc_lint_defs/src

1 file changed

+2
-2
lines changed

compiler/rustc_lint_defs/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,15 +274,15 @@ impl<HCX> ToStableHashKey<HCX> for LintId {
274274
}
275275

276276
// Duplicated from rustc_session::config::ExternDepSpec to avoid cyclic dependency
277-
#[derive(PartialEq)]
277+
#[derive(PartialEq, Debug)]
278278
pub enum ExternDepSpec {
279279
Json(Json),
280280
Raw(String),
281281
}
282282

283283
// This could be a closure, but then implementing derive trait
284284
// becomes hacky (and it gets allocated).
285-
#[derive(PartialEq)]
285+
#[derive(PartialEq, Debug)]
286286
pub enum BuiltinLintDiagnostics {
287287
Normal,
288288
BareTraitObject(Span, /* is_global */ bool),

0 commit comments

Comments
 (0)