Odd macro expansion errors with nested macros #95605
Labels
C-bug
Category: This is a bug.
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
regression-untriaged
Untriaged performance or correctness regression.
Code
I apologize that I can't get a full MCVE going at the moment.
The macro is defined in
calypso_diagnostic/src/types.rs
and used incalypso_parsing/src/lexer.rs
. I originally thought this was related to #52234 after testing in the playground, but I'm not sure anymore as I've tried some workarounds that worked in the playground that did not work here, and did not change anything about the odd behaviour of rustc here.I expected to see this happen: The program builds
Instead, this happened:
Version it worked on
It most recently worked on: 1.59.0
Version with regression
rustc --version --verbose
:@rustbot modify labels: +regression-from-stable-to-nightly +E-needs-mcve +E-needs-bisection
The text was updated successfully, but these errors were encountered: