diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2022-04-14 13:23:45 +0000 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2022-05-24 16:28:57 +0000 |
| commit | ac6b7083c8e15c9f2043b29592b30534f2d94f22 (patch) | |
| tree | 377dc72f8e6cbb0b6f9fae282d8ba3a8cad411d2 | |
| parent | 0d88631059742db30c44edadd1c8a2f51c8eb971 (diff) | |
| download | rust-ac6b7083c8e15c9f2043b29592b30534f2d94f22.tar.gz rust-ac6b7083c8e15c9f2043b29592b30534f2d94f22.zip | |
Remove outdated comment
| -rw-r--r-- | compiler/rustc_const_eval/src/interpret/place.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/rustc_const_eval/src/interpret/place.rs b/compiler/rustc_const_eval/src/interpret/place.rs index 4cd9fb1cb7e..955480a1a74 100644 --- a/compiler/rustc_const_eval/src/interpret/place.rs +++ b/compiler/rustc_const_eval/src/interpret/place.rs @@ -906,10 +906,6 @@ where } // We still require the sizes to match. if src.layout.size != dest.layout.size { - // FIXME: This should be an assert instead of an error, but if we transmute within an - // array length computation, `typeck` may not have yet been run and errored out. In fact - // most likely we *are* running `typeck` right now. Investigate whether we can bail out - // on `typeck_results().has_errors` at all const eval entry points. span_bug!( self.cur_span(), "size-changing transmute, should have been caught by transmute checking: {:#?}\ndest: {:#?}", |
