remove outdated comment

This commit is contained in:
Ralf Jung 2021-09-29 13:43:22 -04:00
parent 50f9f7810c
commit 35f74c24a3

View File

@ -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)?;