Closed
Description
UPDATE: This now works in NLL land. We just need someone to add a test.
left.1.0
and left.0.0
should be separate borrows into the same structure.
Note that changing **left
to *&mut**left
makes it borrow check, and changing Box<Foo>
to &'static mut Foo
in the Foo
struct also makes it borrow check. This makes me think it's something to do with the special casing of Box
.
Metadata
Metadata
Assignees
Labels
Area: The borrow checkerCategory: This is a bug.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.Call for participation: An issue has been fixed and does not reproduce, but no test has been added.Relevant to the compiler team, which will review and decide on the PR/issue.