Unexpected evaluation order of assignments #65910
Labels
A-MIR
Area: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.html
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Assignment expressions where the right-hand side is a FRU or has a reborrow adjustment are not evaluated in the strict right to left order that they usually are. The following example should compile and the assertions shouldn't be triggered
The text was updated successfully, but these errors were encountered: