-Zmacro-backtrace
gets confused when macros define other macros
#92180
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
E-needs-mcve
Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Given the following code: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=49b4f59c6307c22b5f5705f3bbf48205
The current output with
-Zmacro-backtrace=yes
:Ideally the output should include at least the expansion of
state!
andstate_body!
; right now it only showsdefine_state_group!
,rawtext_states_group!
, andaction!
.(I'll try to reduce this, but I only have so much time to work on this.)
cc @estebank
The text was updated successfully, but these errors were encountered: