about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Scherer <github35764891676564198441@oli-obk.de>2019-12-23 15:22:36 +0100
committerOliver Scherer <github35764891676564198441@oli-obk.de>2019-12-23 15:22:36 +0100
commit75bdd95d4e3b9d80d536aed963676d3e8af691a5 (patch)
tree2c2e8775f050fff76a67b5ef3c1fd06cd118aa95
parent89250b97f578d75df33cb049d1cba2640fbc46d9 (diff)
downloadrust-75bdd95d4e3b9d80d536aed963676d3e8af691a5.tar.gz
rust-75bdd95d4e3b9d80d536aed963676d3e8af691a5.zip
Tidy
-rw-r--r--src/librustc_mir/interpret/intern.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/librustc_mir/interpret/intern.rs b/src/librustc_mir/interpret/intern.rs
index b3231ece636..b53741e9e43 100644
--- a/src/librustc_mir/interpret/intern.rs
+++ b/src/librustc_mir/interpret/intern.rs
@@ -327,7 +327,8 @@ pub fn intern_const_alloc_recursive<M: CompileTimeMachine<'mir, 'tcx>>(
                     // We use `delay_span_bug` here, because this can be reached in the presence
                     // of fancy transmutes.
                     if alloc.mutability == Mutability::Mut {
-                        // For better errors later, mark the allocation as immutable (on top of the delayed ICE).
+                        // For better errors later, mark the allocation as immutable
+                        // (on top of the delayed ICE).
                         alloc.mutability = Mutability::Not;
                         ecx.tcx.sess.delay_span_bug(ecx.tcx.span, "mutable allocation in constant");
                     }