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

View file

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