MIR borrowck: no "move occurs because X
is not Copy` error
#46631
Labels
A-borrow-checker
Area: The borrow checker
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
e.g. in the test
moves-based-on-type-tuple
:In the "use of moved value" error, AST borrowck reports the type of the moved value, while MIR borrowck doesn't:
The text was updated successfully, but these errors were encountered: