summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/interpret
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2021-09-29 13:43:22 -0400
committerRalf Jung <post@ralfj.de>2021-09-29 13:43:22 -0400
commit35f74c24a3c205eeb85717e4a0cd8535b7ac8f0e (patch)
tree03c33676e9e268cd26d28fdfdf3f14905c6a5d4f /compiler/rustc_const_eval/src/interpret
parent50f9f7810c975234ce4730488d32661a76a00428 (diff)
downloadrust-35f74c24a3c205eeb85717e4a0cd8535b7ac8f0e.tar.gz
rust-35f74c24a3c205eeb85717e4a0cd8535b7ac8f0e.zip
remove outdated comment
Diffstat (limited to 'compiler/rustc_const_eval/src/interpret')
-rw-r--r--compiler/rustc_const_eval/src/interpret/step.rs1
1 files changed, 0 insertions, 1 deletions
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)?;