Run rust-analyzer on rustc tests in metrics

This commit is contained in:
hkalbasi 2023-12-15 02:10:25 +03:30
parent 35e2f13b5c
commit 7b9595a5ab
11 changed files with 288 additions and 5 deletions

View file

@ -94,7 +94,7 @@ use syntax::{
};
// FIXME: Make this an enum
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash)]
pub enum DiagnosticCode {
RustcHardError(&'static str),
RustcLint(&'static str),
@ -198,7 +198,7 @@ impl Diagnostic {
}
}
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
pub enum Severity {
Error,
Warning,