MIR-borrowck: print named fields with .name
rather than .<num>
#44974
Labels
A-borrow-checker
Area: The borrow checker
A-diagnostics
Area: Messages for errors, warnings, and lints
C-bug
Category: This is a bug.
E-mentor
Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The MIR-borrowck printing of Lvalues visible to end-users prints accesses to a named struct/enum field with a description like
obj.3
instead ofobj.field
.This needs to be fixed before MIR-borrowck is usable in real-world.
(And fixing it sooner would probably make developing MIR-borrowck a bit more enjoyable.)
The text was updated successfully, but these errors were encountered: