diff options
Diffstat (limited to 'crates')
-rw-r--r-- | crates/rust-analyzer/src/config.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/crates/rust-analyzer/src/config.rs b/crates/rust-analyzer/src/config.rs index b6a1124a5..a67b0bb25 100644 --- a/crates/rust-analyzer/src/config.rs +++ b/crates/rust-analyzer/src/config.rs | |||
@@ -111,15 +111,15 @@ config_data! { | |||
111 | /// Map of prefixes to be substituted when parsing diagnostic file paths. | 111 | /// Map of prefixes to be substituted when parsing diagnostic file paths. |
112 | /// This should be the reverse mapping of what is passed to `rustc` as `--remap-path-prefix`. | 112 | /// This should be the reverse mapping of what is passed to `rustc` as `--remap-path-prefix`. |
113 | diagnostics_remapPrefix: FxHashMap<String, String> = "{}", | 113 | diagnostics_remapPrefix: FxHashMap<String, String> = "{}", |
114 | /// List of warnings that should be displayed with info severity. | ||
115 | /// | ||
116 | /// The warnings will be indicated by a blue squiggly underline in code | ||
117 | /// and a blue icon in the `Problems Panel`. | ||
118 | diagnostics_warningsAsHint: Vec<String> = "[]", | ||
119 | /// List of warnings that should be displayed with hint severity. | 114 | /// List of warnings that should be displayed with hint severity. |
120 | /// | 115 | /// |
121 | /// The warnings will be indicated by faded text or three dots in code | 116 | /// The warnings will be indicated by faded text or three dots in code |
122 | /// and will not show up in the `Problems Panel`. | 117 | /// and will not show up in the `Problems Panel`. |
118 | diagnostics_warningsAsHint: Vec<String> = "[]", | ||
119 | /// List of warnings that should be displayed with info severity. | ||
120 | /// | ||
121 | /// The warnings will be indicated by a blue squiggly underline in code | ||
122 | /// and a blue icon in the `Problems Panel`. | ||
123 | diagnostics_warningsAsInfo: Vec<String> = "[]", | 123 | diagnostics_warningsAsInfo: Vec<String> = "[]", |
124 | 124 | ||
125 | /// Controls file watching implementation. | 125 | /// Controls file watching implementation. |