X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=compiler%2Frustc_const_eval%2Fsrc%2Finterpret%2Fplace.rs;h=5b8d74b43078e0dec7bc7432db9e880bc152a9de;hb=05142a7e4495f09141fdd65f140fe44d8c200a9e;hp=b1784b12c6520045ae44cf6281882d0881e361c2;hpb=faf1a7ffc8792f0396399d007e83a851daf67422;p=rust.git diff --git a/compiler/rustc_const_eval/src/interpret/place.rs b/compiler/rustc_const_eval/src/interpret/place.rs index b1784b12c65..5b8d74b4307 100644 --- a/compiler/rustc_const_eval/src/interpret/place.rs +++ b/compiler/rustc_const_eval/src/interpret/place.rs @@ -876,7 +876,7 @@ pub fn copy_op_transmute( 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 likey we *are* running `typeck` right now. Investigate whether we can bail out + // 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. debug!("Size mismatch when transmuting!\nsrc: {:#?}\ndest: {:#?}", src, dest); self.tcx.sess.delay_span_bug(