mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
Add vis matcher
This commit is contained in:
parent
c5983b85fc
commit
87ff908135
6 changed files with 33 additions and 1 deletions
|
@ -167,7 +167,7 @@ impl BlockLike {
|
|||
}
|
||||
}
|
||||
|
||||
fn opt_visibility(p: &mut Parser) -> bool {
|
||||
pub(crate) fn opt_visibility(p: &mut Parser) -> bool {
|
||||
match p.current() {
|
||||
PUB_KW => {
|
||||
let m = p.start();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue