diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2020-01-25 12:13:14 +0100 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2020-02-07 14:00:08 +0100 |
| commit | 5827d78f18ce688a96ecd5a20defda07c8834936 (patch) | |
| tree | 33d84e3fa01e416ae1beb6d5eeb000ffa1c31712 /src/test | |
| parent | e38665676b291eeacf1b9ba54a476588da1230c1 (diff) | |
| download | rust-5827d78f18ce688a96ecd5a20defda07c8834936.tar.gz rust-5827d78f18ce688a96ecd5a20defda07c8834936.zip | |
Fix test
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/ui/consts/miri_unleashed/mutable_const2.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/consts/miri_unleashed/mutable_const2.stderr b/src/test/ui/consts/miri_unleashed/mutable_const2.stderr index a316d8f1698..3eb8e0ec182 100644 --- a/src/test/ui/consts/miri_unleashed/mutable_const2.stderr +++ b/src/test/ui/consts/miri_unleashed/mutable_const2.stderr @@ -10,7 +10,7 @@ error: internal compiler error: mutable allocation in constant LL | const MUTABLE_BEHIND_RAW: *mut i32 = &UnsafeCell::new(42) as *const _ as *mut _; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -thread 'rustc' panicked at 'no errors encountered even though `delay_span_bug` issued', src/librustc_errors/lib.rs:357:17 +thread 'rustc' panicked at 'no errors encountered even though `delay_span_bug` issued', src/librustc_errors/lib.rs:355:17 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace error: internal compiler error: unexpected panic |
