diff options
| author | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2019-12-23 15:22:36 +0100 |
|---|---|---|
| committer | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2019-12-23 15:22:36 +0100 |
| commit | 75bdd95d4e3b9d80d536aed963676d3e8af691a5 (patch) | |
| tree | 2c2e8775f050fff76a67b5ef3c1fd06cd118aa95 | |
| parent | 89250b97f578d75df33cb049d1cba2640fbc46d9 (diff) | |
| download | rust-75bdd95d4e3b9d80d536aed963676d3e8af691a5.tar.gz rust-75bdd95d4e3b9d80d536aed963676d3e8af691a5.zip | |
Tidy
| -rw-r--r-- | src/librustc_mir/interpret/intern.rs | 3 |
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"); } |
