Skip to content

MIR-borrowck: Add support for union types #44831

Closed
@pnkfelix

Description

@pnkfelix

The MIR-borrowck prototype code left out support for union. Luckily we have test cases that illustrate the omission.

  • You can see list of such tests in the discrepancy spreadsheet.
  • But for ease of reference, I am also transcribing that list into the first comment on this issue.

So the next step is to incorporate support for union into librustc_mir/borrow_check.rs.

Metadata

Metadata

Assignees

Labels

A-borrow-checkerArea: The borrow checkerC-enhancementCategory: An issue proposing an enhancement or a PR with one.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions