Skip to content

Commit 14f1a23

Browse files
committed
Auto merge of #3187 - RalfJung:rustup, r=RalfJung
Rustup
2 parents a0db50e + 936e6b2 commit 14f1a23

File tree

484 files changed

+485
-484
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

484 files changed

+485
-484
lines changed

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
360bafad68cfea2682cf016070e533c45a00150f
1+
34c5ab9aac327a8a18e18ea37a2468a320d82fb0

src/provenance_gc.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,12 +193,13 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: MiriInterpCxExt<'mir, 'tcx> {
193193
}
194194

195195
fn remove_unreachable_allocs(&mut self, allocs: FxHashSet<AllocId>) {
196-
let this = self.eval_context_ref();
196+
let this = self.eval_context_mut();
197197
let allocs = LiveAllocs { ecx: this, collected: allocs };
198198
this.machine.allocation_spans.borrow_mut().retain(|id, _| allocs.is_live(*id));
199199
this.machine.intptrcast.borrow_mut().remove_unreachable_allocs(&allocs);
200200
if let Some(borrow_tracker) = &this.machine.borrow_tracker {
201201
borrow_tracker.borrow_mut().remove_unreachable_allocs(&allocs);
202202
}
203+
this.remove_unreachable_allocs(&allocs.collected);
203204
}
204205
}

tests/extern-so/fail/function_not_in_so.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ LL | foo();
1010

1111
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
1212

13-
error: aborting due to previous error
13+
error: aborting due to 1 previous error
1414

tests/fail-dep/concurrency/libc_pthread_create_main_terminate.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ error: the main thread terminated without waiting for all remaining threads
22

33
note: pass `-Zmiri-ignore-leaks` to disable this check
44

5-
error: aborting due to previous error
5+
error: aborting due to 1 previous error
66

tests/fail-dep/concurrency/libc_pthread_create_too_few_args.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ LL | panic!()
1010
= note: inside `thread_start` at RUSTLIB/core/src/panic.rs:LL:CC
1111
= note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info)
1212

13-
error: aborting due to previous error
13+
error: aborting due to 1 previous error
1414

tests/fail-dep/concurrency/libc_pthread_create_too_many_args.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ LL | panic!()
1010
= note: inside `thread_start` at RUSTLIB/core/src/panic.rs:LL:CC
1111
= note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info)
1212

13-
error: aborting due to previous error
13+
error: aborting due to 1 previous error
1414

tests/fail-dep/concurrency/libc_pthread_join_detached.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ LL | assert_eq!(libc::pthread_join(native, ptr::null_mut()), 0);
1111

1212
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
1313

14-
error: aborting due to previous error
14+
error: aborting due to 1 previous error
1515

tests/fail-dep/concurrency/libc_pthread_join_joined.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ LL | assert_eq!(libc::pthread_join(native, ptr::null_mut()), 0);
1111

1212
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
1313

14-
error: aborting due to previous error
14+
error: aborting due to 1 previous error
1515

tests/fail-dep/concurrency/libc_pthread_join_main.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ LL | assert_eq!(libc::pthread_join(thread_id, ptr::null_mut()), 0);
1111

1212
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
1313

14-
error: aborting due to previous error
14+
error: aborting due to 1 previous error
1515

tests/fail-dep/concurrency/libc_pthread_join_multiple.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ LL | ... assert_eq!(libc::pthread_join(native_copy, ptr::null_mut()), 0);
1111

1212
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
1313

14-
error: aborting due to previous error
14+
error: aborting due to 1 previous error
1515

0 commit comments

Comments
 (0)