mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-27 23:22:58 +00:00
remove outdated comment
This commit is contained in:
parent
50f9f7810c
commit
35f74c24a3
@ -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)?;
|
||||
|
Loading…
Reference in New Issue
Block a user