mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-31 21:47:15 +03:00
Remove unused keyword from visibility recovery
This commit is contained in:
@@ -244,7 +244,7 @@ fn is_blocklike(kind: SyntaxKind) -> bool {
|
||||
}
|
||||
}
|
||||
|
||||
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]) {
|
||||
|
||||
Reference in New Issue
Block a user