Remove unused keyword from visibility recovery

This commit is contained in:
Pavan Kumar Sunkara 2024-03-07 14:54:57 +00:00
parent 00a0125372
commit b37ccfce44

View file

@ -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]) {