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 9de696b commit 434bfc3Copy full SHA for 434bfc3
compiler/rustc_parse/src/parser/nonterminal.rs
@@ -101,8 +101,6 @@ impl<'a> Parser<'a> {
101
/// site.
102
#[inline]
103
pub fn parse_nonterminal(&mut self, kind: NonterminalKind) -> PResult<'a, NtOrTt> {
104
- // Any `Nonterminal` which stores its tokens (currently `NtItem` and `NtExpr`)
105
- // needs to have them force-captured here.
106
// A `macro_rules!` invocation may pass a captured item/expr to a proc-macro,
107
// which requires having captured tokens available. Since we cannot determine
108
// in advance whether or not a proc-macro will be (transitively) invoked,
0 commit comments