minirust icon indicating copy to clipboard operation
minirust copied to clipboard

Don't put the debug representation of a type into UB messages

Open RalfJung opened this issue 1 year ago • 0 comments

This line is causing a bunch of trouble:

https://github.com/minirust/minirust/blob/f6bfad075def59ec52a1fed792a4c25f637d1e86/spec/lang/representation.md#L481

We probably want a small pretty-printer for types somewhere, because dumping the debug representation of an enum is entirely too much information and not readable.

RalfJung avatar Feb 15 '24 16:02 RalfJung