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.
The MIR-borrowck prototype code left out support for
union. Luckily we have test cases that illustrate the omission.So the next step is to incorporate support for
unionintolibrustc_mir/borrow_check.rs.