Skip to content

Commit

Permalink
Remove an outdated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed Jan 10, 2020
1 parent 050146f commit 43313d5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/librustc_mir/interpret/operand.rs
Expand Up @@ -467,7 +467,6 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
local => { local => {
// Do not use the layout passed in as argument if the base we are looking at // Do not use the layout passed in as argument if the base we are looking at
// here is not the entire place. // here is not the entire place.
// FIXME use place_projection.is_empty() when is available
let layout = if place.projection.is_empty() { layout } else { None }; let layout = if place.projection.is_empty() { layout } else { None };


self.access_local(self.frame(), local, layout)? self.access_local(self.frame(), local, layout)?
Expand Down

0 comments on commit 43313d5

Please sign in to comment.