We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50f9f78 commit 35f74c2Copy full SHA for 35f74c2
1 file changed
compiler/rustc_const_eval/src/interpret/step.rs
@@ -253,7 +253,6 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
253
}
254
255
Len(place) => {
256
- // FIXME(CTFE): don't allow computing the length of arrays in const eval
257
let src = self.eval_place(place)?;
258
let mplace = self.force_allocation(&src)?;
259
let len = mplace.len(self)?;
0 commit comments