Custom MIR: bad span for assignments #113549
Labels
A-MIR
Area: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.html
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Consider this code:
When running it in Miri, I wold expect this to point at the assignment. Instead it points at the entire
mir!
block:I've seen it use proper spans for
Call
terminators insidemir!
blocks so I hope this is just an oversight and easy to fix. :)Cc @JakobDegen
The text was updated successfully, but these errors were encountered: