mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +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;
|
||||||
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(
|
||||||
|
|
|
@ -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,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue