mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
fix: Fix qualified path completion not completing macros
This commit is contained in:
parent
f87debcf87
commit
2fbd52c78f
2 changed files with 4 additions and 0 deletions
|
@ -122,11 +122,14 @@ use foo::$0
|
|||
mod foo {
|
||||
struct Private;
|
||||
pub struct Foo;
|
||||
macro_rules! foo_ { {} => {} }
|
||||
pub use foo_ as foo;
|
||||
}
|
||||
struct Bar;
|
||||
"#,
|
||||
expect![[r#"
|
||||
st Foo
|
||||
ma foo! macro_rules! foo_
|
||||
"#]],
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue