mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-28 14:03:35 +00:00
Add macro keyword to ITEM_RECOVERY_SET
This commit is contained in:
parent
bea8f58118
commit
4195c0e5f9
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ pub(super) enum ItemFlavor {
|
||||||
|
|
||||||
pub(super) const ITEM_RECOVERY_SET: TokenSet = token_set![
|
pub(super) const ITEM_RECOVERY_SET: TokenSet = token_set![
|
||||||
FN_KW, STRUCT_KW, ENUM_KW, IMPL_KW, TRAIT_KW, CONST_KW, STATIC_KW, LET_KW, MOD_KW, PUB_KW,
|
FN_KW, STRUCT_KW, ENUM_KW, IMPL_KW, TRAIT_KW, CONST_KW, STATIC_KW, LET_KW, MOD_KW, PUB_KW,
|
||||||
CRATE_KW, USE_KW
|
CRATE_KW, USE_KW, MACRO_KW
|
||||||
];
|
];
|
||||||
|
|
||||||
pub(super) fn item_or_macro(p: &mut Parser, stop_on_r_curly: bool, flavor: ItemFlavor) {
|
pub(super) fn item_or_macro(p: &mut Parser, stop_on_r_curly: bool, flavor: ItemFlavor) {
|
||||||
|
|
Loading…
Reference in a new issue