Skip to content

Commit 35f74c2

Browse files
committed
remove outdated comment
1 parent 50f9f78 commit 35f74c2

File tree

1 file changed

+0
-1
lines changed
  • compiler/rustc_const_eval/src/interpret

1 file changed

+0
-1
lines changed

compiler/rustc_const_eval/src/interpret/step.rs

-1
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,6 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
253253
}
254254

255255
Len(place) => {
256-
// FIXME(CTFE): don't allow computing the length of arrays in const eval
257256
let src = self.eval_place(place)?;
258257
let mplace = self.force_allocation(&src)?;
259258
let len = mplace.len(self)?;

0 commit comments

Comments
 (0)