Rustc hangs on recursive macro expansion on 1.48.0 #79242
Labels
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
E-needs-bisection
Call for participation: This issue needs bisection: https://github.com/rust-lang/cargo-bisect-rustc
E-needs-mcve
Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example
I-compiletime
Issue: Problems and improvements with respect to compile times.
P-high
High priority
regression-from-stable-to-stable
Performance or correctness regression from one stable version to another.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
We have a library that compiles fine on 1.47.0 but after uggrading to 1.48.0 the compilation hangs.
This code-snippet above is reduced from the original code as much as I can. I'm having problems understanding exactly where the problem is coming from and any further modifications to reduce it haven't worked. It uses the "paste" crate, and I've tried a few different versions including the latest one but it doesn't make a difference .
I've been building it with
cargo build
at 1.47.0 and 1.48.0 to reproduce the issue which I got just by runningrustup default
doesn't work on
works on
The text was updated successfully, but these errors were encountered: