mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 21:43:37 +00:00
Auto merge of #16785 - pksunkara:remove-crate-visibility-recovery, r=lnicola
internal: Remove unused keyword from visibility recovery We removed support `crate` visibility keyword, but forgot to remove it from the recovery token list.
This commit is contained in:
commit
1487bc2af6
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 {
|
||||
if !p.at(T![pub]) {
|
||||
|
|
Loading…
Reference in a new issue