ICE (Missing tokens for nt) on nightly with stmt_expr_attributes
and proc_macro_hygiene
#81555
Labels
A-attributes
Area: Attributes (`#[…]`, `#![…]`)
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
A-proc-macros
Area: Procedural macros
C-bug
Category: This is a bug.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
F-stmt_expr_attributes
`#![feature(stmt_expr_attributes)]`
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
P-high
High priority
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
I expected the code to compile sucessfully, but got an ICE instead:
(This is procedural-macro-related. I can't reproduce without a procedural macro.)
This used to work and regressed in #79472.
Backtrace
cc #15701 #54727
The text was updated successfully, but these errors were encountered: