Move analysis config structure to the config.rs

This commit is contained in:
Igor Aleksanov 2020-08-18 13:35:36 +03:00
parent b56cfcca10
commit 34847c8d96
2 changed files with 7 additions and 7 deletions

View file

@ -99,12 +99,6 @@ pub use text_edit::{Indel, TextEdit};
pub type Cancelable<T> = Result<T, Canceled>;
/// Configuration parameters for the analysis run.
#[derive(Debug, Default, Clone)]
pub struct AnalysisConfig {
pub disabled_diagnostics: HashSet<String>,
}
#[derive(Debug)]
pub struct Diagnostic {
pub name: Option<String>,