Panic with 'Missing tokens for nt ";"' when passing statement to proc macro from declarative macro #80760
Labels
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-bisection
Call for participation: This issue needs bisection: https://github.com/rust-lang/cargo-bisect-rustc
P-high
High priority
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
This the the lib.rs of a proc macro crate
pm
:And here is the main.rs of another crate:
When building, this outputs:
Version it worked on
1.49.0, 1.50.0-beta.5
Version with regression
rustc 1.51.0-nightly (da305a2 2021-01-05)
binary: rustc
commit-hash: da305a2
commit-date: 2021-01-05
host: x86_64-unknown-linux-gnu
release: 1.51.0-nightly
The text was updated successfully, but these errors were encountered: