Spans for nested macro invocations are lacking #101512
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
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=2021&gist=58e18e1a59570b289fca4a2b015cf638
The current output is:
Ideally the output should look like:
In this small macro, the problem isn't too hard to figure out, but I gave up on figuring it out for the original code before the minimization:
rust/compiler/rustc_middle/src/ty/query.rs
Lines 175 to 321 in 7b8e2a5
The text was updated successfully, but these errors were encountered: