mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Run rust-analyzer on rustc tests in metrics
This commit is contained in:
parent
35e2f13b5c
commit
7b9595a5ab
11 changed files with 288 additions and 5 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue