about summary refs log tree commit diff
path: root/src/librustc_mir/interpret
diff options
context:
space:
mode:
authorOliver Scherer <github35764891676564198441@oli-obk.de>2019-12-22 13:10:56 +0100
committerOliver Scherer <github35764891676564198441@oli-obk.de>2019-12-26 22:50:17 +0100
commit72ebce0e1b145b58722be88858eea7efbf05566b (patch)
treee028747e7eaa1d7c73267fae2fb6d0ebe46f6f0d /src/librustc_mir/interpret
parent6937ca2c90961d12cf84fa743cfc34f206d7d75c (diff)
downloadrust-72ebce0e1b145b58722be88858eea7efbf05566b.tar.gz
rust-72ebce0e1b145b58722be88858eea7efbf05566b.zip
Remove unintended noisy log statement
Diffstat (limited to 'src/librustc_mir/interpret')
-rw-r--r--src/librustc_mir/interpret/place.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_mir/interpret/place.rs b/src/librustc_mir/interpret/place.rs
index b384de571fa..f4ac7de852a 100644
--- a/src/librustc_mir/interpret/place.rs
+++ b/src/librustc_mir/interpret/place.rs
@@ -928,7 +928,7 @@ where
             // 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
             // on `typeck_tables().has_errors` at all const eval entry points.
-            error!("Size mismatch when transmuting!\nsrc: {:#?}\ndest: {:#?}", src, dest);
+            debug!("Size mismatch when transmuting!\nsrc: {:#?}\ndest: {:#?}", src, dest);
             throw_unsup!(TransmuteSizeDiff(src.layout.ty, dest.layout.ty));
         }
         // Unsized copies rely on interpreting `src.meta` with `dest.layout`, we want