We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00a0125 commit a838e44Copy full SHA for a838e44
1 file changed
crates/parser/src/grammar/items.rs
@@ -70,8 +70,7 @@ pub(super) fn item_or_macro(p: &mut Parser<'_>, stop_on_r_curly: bool) {
70
// macro_rules! {};
71
// macro_rules! ()
72
// macro_rules! []
73
- let no_ident = p.at_contextual_kw(T![macro_rules]) && p.nth_at(1, BANG) && !p.nth_at(2, IDENT);
74
- if paths::is_use_path_start(p) || no_ident {
+ if paths::is_use_path_start(p) {
75
macro_call(p, m);
76
return;
77
}
0 commit comments