mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-20 20:12:09 +00:00

Show the offset, length and memory of uninit read errors r? ``@RalfJung`` I want to improve memory dumps in general. Not sure yet how to do so best within rust diagnostics, but in a perfect world I could generate a dummy in-memory file (that contains the rendered memory dump) that we then can then provide regular rustc `Span`s to. So we'd basically report normal diagnostics for them with squiggly lines and everything.
For more information about how rustc works, see the rustc dev guide.