debug ice: Span must not be empty and have no suggestion
, passing macro into fn that does not expect args
#113866
Labels
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
requires-debug-assertions
This issue requires a build of rustc or tooling with debug-assertions in some way
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Meta
rustc --version --verbose
:Error output
without debug assertions:
I think the
stringify!()
messes something up and causes thehelp: remove the extra argument
span to have size zero which triggers the debug ice, but I'm not entirely sure.Backtrace
The text was updated successfully, but these errors were encountered: