Borrow checking can be effected by seemingly irrelevant statements #111298
Labels
A-borrow-checker
Area: The borrow checker
C-bug
Category: This is a bug.
NLL-polonius
Issues related for using Polonius in the borrow checker
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen: Commenting let statement has no effect on borrowck
Instead, this happened: borrowck succeed with the additional statement
See #80949 (comment) for an explanation of a similar bug that occurred after a change in mir generation.
The text was updated successfully, but these errors were encountered: