Skip to content

Commit 75bdd95

Browse files
committed
Tidy
1 parent 89250b9 commit 75bdd95

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/librustc_mir/interpret/intern.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,8 @@ pub fn intern_const_alloc_recursive<M: CompileTimeMachine<'mir, 'tcx>>(
327327
// We use `delay_span_bug` here, because this can be reached in the presence
328328
// of fancy transmutes.
329329
if alloc.mutability == Mutability::Mut {
330-
// For better errors later, mark the allocation as immutable (on top of the delayed ICE).
330+
// For better errors later, mark the allocation as immutable
331+
// (on top of the delayed ICE).
331332
alloc.mutability = Mutability::Not;
332333
ecx.tcx.sess.delay_span_bug(ecx.tcx.span, "mutable allocation in constant");
333334
}

0 commit comments

Comments
 (0)