From 0d596f29d9cf105833db5dc5cca1eccade08ce4e Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Fri, 2 Nov 2018 11:24:36 +0100 Subject: [PATCH] FIXME --- src/librustc_mir/interpret/visitor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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> = (0..offsets.len()).map(|i| {