We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4165c89 commit ab708f5Copy full SHA for ab708f5
src/librustc_mir/interpret/place.rs
@@ -624,7 +624,7 @@ where
624
// their layout on return.
625
PlaceTy {
626
place: *return_place,
627
- layout: self.layout_of_local(self.frame(), mir::RETURN_PLACE, None)?,
+ layout: self.layout_of(self.frame().mir.return_ty())?,
628
},
629
None => return err!(InvalidNullPointerUsage),
630
0 commit comments