From 75bdd95d4e3b9d80d536aed963676d3e8af691a5 Mon Sep 17 00:00:00 2001 From: Oliver Scherer Date: Mon, 23 Dec 2019 15:22:36 +0100 Subject: [PATCH] Tidy --- src/librustc_mir/interpret/intern.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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>( // 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"); } -- 2.44.0