Add fixmes

This commit is contained in:
Aleksey Kladov 2020-07-09 15:41:13 +02:00
parent 9d0196a491
commit d70f4f5da5

View file

@ -18,7 +18,9 @@ pub struct DiagnosticsConfig {
#[derive(Debug, Default, Clone)]
pub(crate) struct DiagnosticCollection {
// FIXME: should be FxHashMap<FileId, Vec<ra_id::Diagnostic>>
pub(crate) native: FxHashMap<FileId, Vec<lsp_types::Diagnostic>>,
// FIXME: should be Vec<flycheck::Diagnostic>
pub(crate) check: FxHashMap<FileId, Vec<lsp_types::Diagnostic>>,
pub(crate) check_fixes: CheckFixes,
changes: FxHashSet<FileId>,