Replace SyntaxKind usage with T! macro where applicable
This commit is contained in:
@@ -27,19 +27,19 @@ pub(super) fn mod_contents(p: &mut Parser, stop_on_r_curly: bool) {
|
||||
}
|
||||
|
||||
pub(super) const ITEM_RECOVERY_SET: TokenSet = TokenSet::new(&[
|
||||
FN_KW,
|
||||
STRUCT_KW,
|
||||
ENUM_KW,
|
||||
IMPL_KW,
|
||||
TRAIT_KW,
|
||||
CONST_KW,
|
||||
STATIC_KW,
|
||||
LET_KW,
|
||||
MOD_KW,
|
||||
PUB_KW,
|
||||
CRATE_KW,
|
||||
USE_KW,
|
||||
MACRO_KW,
|
||||
T![fn],
|
||||
T![struct],
|
||||
T![enum],
|
||||
T![impl],
|
||||
T![trait],
|
||||
T![const],
|
||||
T![static],
|
||||
T![let],
|
||||
T![mod],
|
||||
T![pub],
|
||||
T![crate],
|
||||
T![use],
|
||||
T![macro],
|
||||
T![;],
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user