mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
Split out complete_macro_in_item_position
This commit is contained in:
parent
c033d18700
commit
6353b1621f
3 changed files with 52 additions and 37 deletions
|
@ -12,6 +12,7 @@ mod complete_snippet;
|
|||
mod complete_path;
|
||||
mod complete_scope;
|
||||
mod complete_postfix;
|
||||
mod complete_macro_in_item_position;
|
||||
|
||||
use ra_db::SourceDatabase;
|
||||
|
||||
|
@ -69,5 +70,6 @@ pub(crate) fn completions(db: &db::RootDatabase, position: FilePosition) -> Opti
|
|||
complete_record_pattern::complete_record_pattern(&mut acc, &ctx);
|
||||
complete_pattern::complete_pattern(&mut acc, &ctx);
|
||||
complete_postfix::complete_postfix(&mut acc, &ctx);
|
||||
complete_macro_in_item_position::complete_macro_in_item_position(&mut acc, &ctx);
|
||||
Some(acc)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue