mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Complete exported macros in #[macro_use($0)]
This commit is contained in:
parent
21b06c1beb
commit
b986d8ac92
6 changed files with 123 additions and 0 deletions
|
@ -211,12 +211,14 @@ pub fn completions(
|
|||
CompletionAnalysis::UnexpandedAttrTT {
|
||||
colon_prefix,
|
||||
fake_attribute_under_caret: Some(attr),
|
||||
extern_crate,
|
||||
} => {
|
||||
completions::attribute::complete_known_attribute_input(
|
||||
acc,
|
||||
ctx,
|
||||
colon_prefix,
|
||||
attr,
|
||||
extern_crate.as_ref(),
|
||||
);
|
||||
}
|
||||
CompletionAnalysis::UnexpandedAttrTT { .. } | CompletionAnalysis::String { .. } => (),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue