mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
Add completion module tailored towards visibility modifiers
This commit is contained in:
parent
661d721e20
commit
136dadac9a
8 changed files with 76 additions and 38 deletions
|
@ -17,6 +17,9 @@ pub($0)
|
|||
"#,
|
||||
expect![[r#"
|
||||
kw in
|
||||
kw self
|
||||
kw super
|
||||
kw crate
|
||||
"#]],
|
||||
);
|
||||
}
|
||||
|
@ -27,7 +30,11 @@ fn after_in_kw() {
|
|||
r#"
|
||||
pub(in $0)
|
||||
"#,
|
||||
expect![[r#""#]],
|
||||
expect![[r#"
|
||||
kw self
|
||||
kw super
|
||||
kw crate
|
||||
"#]],
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue