From 35f74c24a3c205eeb85717e4a0cd8535b7ac8f0e Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Wed, 29 Sep 2021 13:43:22 -0400 Subject: [PATCH] remove outdated comment --- compiler/rustc_const_eval/src/interpret/step.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/compiler/rustc_const_eval/src/interpret/step.rs b/compiler/rustc_const_eval/src/interpret/step.rs index bcce19b28db..bbf7f3a5c3d 100644 --- a/compiler/rustc_const_eval/src/interpret/step.rs +++ b/compiler/rustc_const_eval/src/interpret/step.rs @@ -253,7 +253,6 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> { } Len(place) => { - // FIXME(CTFE): don't allow computing the length of arrays in const eval let src = self.eval_place(place)?; let mplace = self.force_allocation(&src)?; let len = mplace.len(self)?;