]> git.lizzy.rs Git - rust.git/commitdiff
Tidy
authorOliver Scherer <github35764891676564198441@oli-obk.de>
Mon, 23 Dec 2019 14:22:36 +0000 (15:22 +0100)
committerOliver Scherer <github35764891676564198441@oli-obk.de>
Mon, 23 Dec 2019 14:22:36 +0000 (15:22 +0100)
src/librustc_mir/interpret/intern.rs

index b3231ece636832f00028d9a557f247e42cd8ec89..b53741e9e43ff5049afdcd3247c7f7d79ca0de6c 100644 (file)
@@ -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");
                     }