mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Remove unused keyword from visibility recovery
This commit is contained in:
parent
00a0125372
commit
b37ccfce44
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ impl BlockLike {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const VISIBILITY_FIRST: TokenSet = TokenSet::new(&[T![pub], T![crate]]);
|
const VISIBILITY_FIRST: TokenSet = TokenSet::new(&[T![pub]]);
|
||||||
|
|
||||||
fn opt_visibility(p: &mut Parser<'_>, in_tuple_field: bool) -> bool {
|
fn opt_visibility(p: &mut Parser<'_>, in_tuple_field: bool) -> bool {
|
||||||
if !p.at(T![pub]) {
|
if !p.at(T![pub]) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue