about summary refs log tree commit diff
diff options
context:
space:
mode:
-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");
                     }