Skip to content
Permalink
Browse files

Remove an outdated comment

  • Loading branch information
oli-obk committed Jan 9, 2020
1 parent 050146f commit 43313d574394de6b9be6bbf0eb782c9cef56e69f
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/librustc_mir/interpret/operand.rs
@@ -467,7 +467,6 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
local => {
// Do not use the layout passed in as argument if the base we are looking at
// 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 };

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

0 comments on commit 43313d5

Please sign in to comment.
You can’t perform that action at this time.