Skip to content

Commit ec95152

Browse files
committed
Move FeatureFlags
1 parent ee2ee1a commit ec95152

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

crates/ra_ide/src/ide_db/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
33
pub mod line_index;
44
pub mod line_index_utils;
5+
pub mod feature_flags;
56

67
use std::sync::Arc;
78

@@ -13,9 +14,8 @@ use ra_db::{
1314
use rustc_hash::FxHashMap;
1415

1516
use crate::{
16-
ide_db::line_index::LineIndex,
17+
ide_db::{feature_flags::FeatureFlags, line_index::LineIndex},
1718
symbol_index::{self, SymbolsDatabase},
18-
FeatureFlags,
1919
};
2020

2121
#[salsa::database(

crates/ra_ide/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ pub mod mock_analysis;
1717
mod symbol_index;
1818
mod change;
1919
mod source_change;
20-
mod feature_flags;
2120

2221
mod status;
2322
mod completion;
@@ -70,10 +69,10 @@ pub use crate::{
7069
diagnostics::Severity,
7170
display::{file_structure, FunctionSignature, NavigationTarget, StructureNode},
7271
expand_macro::ExpandedMacro,
73-
feature_flags::FeatureFlags,
7472
folding_ranges::{Fold, FoldKind},
7573
hover::HoverResult,
7674
ide_db::{
75+
feature_flags::FeatureFlags,
7776
line_index::{LineCol, LineIndex},
7877
line_index_utils::translate_offset_with_edit,
7978
},

0 commit comments

Comments
 (0)