Move FeatureFlags

This commit is contained in:
Aleksey Kladov 2020-02-06 12:18:52 +01:00
parent ee2ee1a8ff
commit ec95152a4e
3 changed files with 3 additions and 4 deletions

View File

@ -2,6 +2,7 @@
pub mod line_index;
pub mod line_index_utils;
pub mod feature_flags;
use std::sync::Arc;
@ -13,9 +14,8 @@
use rustc_hash::FxHashMap;
use crate::{
ide_db::line_index::LineIndex,
ide_db::{feature_flags::FeatureFlags, line_index::LineIndex},
symbol_index::{self, SymbolsDatabase},
FeatureFlags,
};
#[salsa::database(

View File

@ -17,7 +17,6 @@
mod symbol_index;
mod change;
mod source_change;
mod feature_flags;
mod status;
mod completion;
@ -70,10 +69,10 @@
diagnostics::Severity,
display::{file_structure, FunctionSignature, NavigationTarget, StructureNode},
expand_macro::ExpandedMacro,
feature_flags::FeatureFlags,
folding_ranges::{Fold, FoldKind},
hover::HoverResult,
ide_db::{
feature_flags::FeatureFlags,
line_index::{LineCol, LineIndex},
line_index_utils::translate_offset_with_edit,
},