diff options
author | Igor Aleksanov <[email protected]> | 2020-08-18 11:35:36 +0100 |
---|---|---|
committer | Igor Aleksanov <[email protected]> | 2020-08-18 11:35:36 +0100 |
commit | 34847c8d96ddf98c40117ebacaecec38b9b758fc (patch) | |
tree | 7b869365309052f2cbfab2df4fa1eb9ee68c5031 /crates/ide | |
parent | b56cfcca10994ec2bf1878f222afdb375459f8d3 (diff) |
Move analysis config structure to the config.rs
Diffstat (limited to 'crates/ide')
-rw-r--r-- | crates/ide/src/lib.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/crates/ide/src/lib.rs b/crates/ide/src/lib.rs index a19a379c6..4b797f374 100644 --- a/crates/ide/src/lib.rs +++ b/crates/ide/src/lib.rs | |||
@@ -99,12 +99,6 @@ pub use text_edit::{Indel, TextEdit}; | |||
99 | 99 | ||
100 | pub type Cancelable<T> = Result<T, Canceled>; | 100 | pub type Cancelable<T> = Result<T, Canceled>; |
101 | 101 | ||
102 | /// Configuration parameters for the analysis run. | ||
103 | #[derive(Debug, Default, Clone)] | ||
104 | pub struct AnalysisConfig { | ||
105 | pub disabled_diagnostics: HashSet<String>, | ||
106 | } | ||
107 | |||
108 | #[derive(Debug)] | 102 | #[derive(Debug)] |
109 | pub struct Diagnostic { | 103 | pub struct Diagnostic { |
110 | pub name: Option<String>, | 104 | pub name: Option<String>, |