1
Fork 0

Revert accidental removal of attributes

This commit is contained in:
asquared31415 2021-07-21 16:10:45 -04:00
parent 1e1f2194b6
commit 1f8f8631b0

View file

@ -274,7 +274,7 @@ impl<HCX> ToStableHashKey<HCX> for LintId {
} }
// Duplicated from rustc_session::config::ExternDepSpec to avoid cyclic dependency // Duplicated from rustc_session::config::ExternDepSpec to avoid cyclic dependency
#[derive(PartialEq)] #[derive(PartialEq, Debug)]
pub enum ExternDepSpec { pub enum ExternDepSpec {
Json(Json), Json(Json),
Raw(String), Raw(String),
@ -282,7 +282,7 @@ pub enum ExternDepSpec {
// This could be a closure, but then implementing derive trait // This could be a closure, but then implementing derive trait
// becomes hacky (and it gets allocated). // becomes hacky (and it gets allocated).
#[derive(PartialEq)] #[derive(PartialEq, Debug)]
pub enum BuiltinLintDiagnostics { pub enum BuiltinLintDiagnostics {
Normal, Normal,
BareTraitObject(Span, /* is_global */ bool), BareTraitObject(Span, /* is_global */ bool),