about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2018-11-02 11:24:36 +0100
committerRalf Jung <post@ralfj.de>2018-11-05 09:59:05 +0100
commit0d596f29d9cf105833db5dc5cca1eccade08ce4e (patch)
treebd5c25d0391ce9120bee4b7be227daad0fc9e99d /src
parent91cad3961484407eef2c89fd1329d8139013f669 (diff)
downloadrust-0d596f29d9cf105833db5dc5cca1eccade08ce4e.tar.gz
rust-0d596f29d9cf105833db5dc5cca1eccade08ce4e.zip
FIXME
Diffstat (limited to 'src')
-rw-r--r--src/librustc_mir/interpret/visitor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_mir/interpret/visitor.rs b/src/librustc_mir/interpret/visitor.rs
index 80c7e075bd7..12455e95727 100644
--- a/src/librustc_mir/interpret/visitor.rs
+++ b/src/librustc_mir/interpret/visitor.rs
@@ -317,7 +317,7 @@ pub trait ValueVisitor<'a, 'mir, 'tcx: 'mir+'a, M: Machine<'a, 'mir, 'tcx>>: Siz
                 self.visit_union(v)?;
             },
             layout::FieldPlacement::Arbitrary { ref offsets, .. } => {
-                // We collect in a vec because otherwise there are lifetime errors:
+                // FIXME: We collect in a vec because otherwise there are lifetime errors:
                 // Projecting to a field needs (mutable!) access to `ecx`.
                 let fields: Vec<EvalResult<'tcx, Self::V>> =
                     (0..offsets.len()).map(|i| {