File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -3233,18 +3233,6 @@ impl<'a> Parser<'a> {
32333233 } else if is_ident ( & self . token )
32343234 && !token:: is_any_keyword ( & self . token )
32353235 && self . look_ahead ( 1 , |t| * t == token:: NOT ) {
3236- // parse a macro invocation. Looks like there's serious
3237- // overlap here; if this clause doesn't catch it (and it
3238- // won't, for brace-delimited macros) it will fall through
3239- // to the macro clause of parse_item_or_view_item. This
3240- // could use some cleanup, it appears to me.
3241-
3242- // whoops! I now have a guess: I'm guessing the "parens-only"
3243- // rule here is deliberate, to allow macro users to use parens
3244- // for things that should be parsed as stmt_mac, and braces
3245- // for things that should expand into items. Tricky, and
3246- // somewhat awkward... and probably undocumented. Of course,
3247- // I could just be wrong.
32483236
32493237 check_expected_item ( self , !item_attrs. is_empty ( ) ) ;
32503238
You can’t perform that action at this time.
0 commit comments