Skip to content

Commit

Permalink
Fix minor regression in newest nightly compiler. Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hlisdero committed Apr 5, 2023
1 parent de9441d commit e2ca279
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ This proves extremely useful to get feedback on the types, compiler errors, etc.

As time goes on and the compiler internals change, the code will inevitably need changes to work again.

**The current state of the repository compiled without warnings and with all tests passing with** `rustc 1.70.0-nightly (4a04d086c 2023-03-18)`
**The current state of the repository compiled without warnings and with all tests passing with** `rustc 1.70.0-nightly (700938c07 2023-04-04)`

### Installation

Expand Down
2 changes: 1 addition & 1 deletion src/translator/mir_visitor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ impl<'tcx> Visitor<'tcx> for Translator<'tcx> {
self.handle_ref_assignment(place, rhs);
}
rustc_middle::mir::Rvalue::Aggregate(_, operands) => {
self.handle_aggregate_assignment(place, operands);
self.handle_aggregate_assignment(place, &operands.raw);
}
// No need to do anything for the other cases for now.
_ => {}
Expand Down

0 comments on commit e2ca279

Please sign in to comment.