mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 22:31:43 +00:00
Move FeatureFlags
This commit is contained in:
parent
ee2ee1a8ff
commit
ec95152a4e
3 changed files with 3 additions and 4 deletions
|
@ -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 ra_db::{
|
|||
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(
|
||||
|
|
|
@ -17,7 +17,6 @@ pub mod mock_analysis;
|
|||
mod symbol_index;
|
||||
mod change;
|
||||
mod source_change;
|
||||
mod feature_flags;
|
||||
|
||||
mod status;
|
||||
mod completion;
|
||||
|
@ -70,10 +69,10 @@ pub use crate::{
|
|||
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,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue