Allow showing backtraces from proc-macro panics #75050
Labels
A-proc-macros
Area: Procedural macros
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Currently, rustc always hides the panic backtrace when a proc-macro panics:
rust/library/proc_macro/src/bridge/client.rs
Lines 308 to 322 in 1e99138
It would be useful to able to set an environment variable or command-line argument to override this behavior.
The text was updated successfully, but these errors were encountered: