aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-07-09 14:41:13 +0100
committerAleksey Kladov <[email protected]>2020-07-09 14:41:13 +0100
commitd70f4f5da5cb12c267aa9eb4c0a23d00bdd01608 (patch)
tree33801fbe3b3ba42fe39ef9ab8004d29c075f58c2
parent9d0196a4914eb66003f21309ff7018d3e0f237a6 (diff)
Add fixmes
-rw-r--r--crates/rust-analyzer/src/diagnostics.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/rust-analyzer/src/diagnostics.rs b/crates/rust-analyzer/src/diagnostics.rs
index b46281c98..d24c55cee 100644
--- a/crates/rust-analyzer/src/diagnostics.rs
+++ b/crates/rust-analyzer/src/diagnostics.rs
@@ -18,7 +18,9 @@ pub struct DiagnosticsConfig {
18 18
19#[derive(Debug, Default, Clone)] 19#[derive(Debug, Default, Clone)]
20pub(crate) struct DiagnosticCollection { 20pub(crate) struct DiagnosticCollection {
21 // FIXME: should be FxHashMap<FileId, Vec<ra_id::Diagnostic>>
21 pub(crate) native: FxHashMap<FileId, Vec<lsp_types::Diagnostic>>, 22 pub(crate) native: FxHashMap<FileId, Vec<lsp_types::Diagnostic>>,
23 // FIXME: should be Vec<flycheck::Diagnostic>
22 pub(crate) check: FxHashMap<FileId, Vec<lsp_types::Diagnostic>>, 24 pub(crate) check: FxHashMap<FileId, Vec<lsp_types::Diagnostic>>,
23 pub(crate) check_fixes: CheckFixes, 25 pub(crate) check_fixes: CheckFixes,
24 changes: FxHashSet<FileId>, 26 changes: FxHashSet<FileId>,