Skip to content

Commit b16fad8

Browse files
NoratriebadrianEffe
andcommitted
Bless Miri tests
Co-authored-by: Adrian <[email protected]>
1 parent 018e0ef commit b16fad8

File tree

469 files changed

+469
-469
lines changed

Some content is hidden

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

469 files changed

+469
-469
lines changed

src/tools/miri/tests/extern-so/fail/function_not_in_so.stderr

+1-1
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

src/tools/miri/tests/fail-dep/concurrency/libc_pthread_create_main_terminate.stderr

+1-1
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

src/tools/miri/tests/fail-dep/concurrency/libc_pthread_create_too_few_args.stderr

+1-1
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

src/tools/miri/tests/fail-dep/concurrency/libc_pthread_create_too_many_args.stderr

+1-1
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

src/tools/miri/tests/fail-dep/concurrency/libc_pthread_join_detached.stderr

+1-1
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

src/tools/miri/tests/fail-dep/concurrency/libc_pthread_join_joined.stderr

+1-1
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

src/tools/miri/tests/fail-dep/concurrency/libc_pthread_join_main.stderr

+1-1
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

src/tools/miri/tests/fail-dep/concurrency/libc_pthread_join_multiple.stderr

+1-1
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

src/tools/miri/tests/fail-dep/concurrency/libc_pthread_join_self.stderr

+1-1
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

src/tools/miri/tests/fail-dep/concurrency/unwind_top_of_stack.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ LL | | }
1717
= note: BACKTRACE:
1818
= note: inside `thread_start` at $DIR/unwind_top_of_stack.rs:LL:CC
1919

20-
error: aborting due to previous error
20+
error: aborting due to 1 previous error
2121

src/tools/miri/tests/fail-dep/shims/fs/close_stdout.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ LL | libc::close(1);
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

src/tools/miri/tests/fail-dep/shims/fs/isolated_stdin.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ LL | libc::read(0, bytes.as_mut_ptr() as *mut libc::c_void, 512);
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

src/tools/miri/tests/fail-dep/shims/fs/mkstemp_immutable_arg.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ LL | test_mkstemp_immutable_arg();
1616

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

19-
error: aborting due to previous error
19+
error: aborting due to 1 previous error
2020

src/tools/miri/tests/fail-dep/shims/fs/read_from_stdout.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ LL | libc::read(1, bytes.as_mut_ptr() as *mut libc::c_void, 512);
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

src/tools/miri/tests/fail-dep/shims/fs/unix_open_missing_required_mode.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ LL | test_file_open_missing_needed_mode();
1616

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

19-
error: aborting due to previous error
19+
error: aborting due to 1 previous error
2020

src/tools/miri/tests/fail-dep/shims/fs/write_to_stdin.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ LL | libc::write(0, bytes.as_ptr() as *const libc::c_void, 5);
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

src/tools/miri/tests/fail-dep/shims/memchr_null.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ LL | libc::memchr(ptr::null(), 0, 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

src/tools/miri/tests/fail-dep/shims/memcmp_null.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ LL | libc::memcmp(ptr::null(), ptr::null(), 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

src/tools/miri/tests/fail-dep/shims/memcmp_zero.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ LL | libc::memcmp(ptr.cast(), ptr.cast(), 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

src/tools/miri/tests/fail-dep/shims/memcpy_zero.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ LL | libc::memcpy(to.cast(), from.cast(), 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

src/tools/miri/tests/fail-dep/shims/memrchr_null.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ LL | libc::memrchr(ptr::null(), 0, 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

src/tools/miri/tests/fail-dep/shims/mmap_invalid_dealloc.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ LL | libc::free(ptr);
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

src/tools/miri/tests/fail-dep/shims/mmap_use_after_munmap.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,5 @@ LL | libc::munmap(ptr, 4096);
4343

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

46-
error: aborting due to previous error; 1 warning emitted
46+
error: aborting due to 1 previous error; 1 warning emitted
4747

src/tools/miri/tests/fail-dep/shims/munmap.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@ LL | | )
3535

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

38-
error: aborting due to previous error; 1 warning emitted
38+
error: aborting due to 1 previous error; 1 warning emitted
3939

src/tools/miri/tests/fail-dep/shims/munmap_partial.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ LL | libc::munmap(ptr, 1);
2525

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

28-
error: aborting due to previous error; 1 warning emitted
28+
error: aborting due to 1 previous error; 1 warning emitted
2929

src/tools/miri/tests/fail-dep/shims/sync/libc_pthread_cond_double_destroy.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ LL | libc::pthread_cond_destroy(cond.as_mut_ptr());
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

src/tools/miri/tests/fail-dep/shims/sync/libc_pthread_condattr_double_destroy.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ LL | libc::pthread_condattr_destroy(attr.as_mut_ptr());
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

src/tools/miri/tests/fail-dep/shims/sync/libc_pthread_mutex_NULL_deadlock.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ LL | libc::pthread_mutex_lock(&mut mutex as *mut _);
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

src/tools/miri/tests/fail-dep/shims/sync/libc_pthread_mutex_deadlock.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ LL | assert_eq!(libc::pthread_mutex_lock(lock_copy.0.get() as *mut _
88

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

11-
error: aborting due to previous error
11+
error: aborting due to 1 previous error
1212

src/tools/miri/tests/fail-dep/shims/sync/libc_pthread_mutex_default_deadlock.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ LL | libc::pthread_mutex_lock(&mut mutex as *mut _);
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

src/tools/miri/tests/fail-dep/shims/sync/libc_pthread_mutex_destroy_locked.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ LL | libc::pthread_mutex_destroy(&mut mutex as *mut _);
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

src/tools/miri/tests/fail-dep/shims/sync/libc_pthread_mutex_double_destroy.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ LL | libc::pthread_mutex_destroy(mutex.as_mut_ptr());
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

src/tools/miri/tests/fail-dep/shims/sync/libc_pthread_mutex_normal_deadlock.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ LL | libc::pthread_mutex_lock(&mut mutex as *mut _);
88

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

11-
error: aborting due to previous error
11+
error: aborting due to 1 previous error
1212

src/tools/miri/tests/fail-dep/shims/sync/libc_pthread_mutex_normal_unlock_unlocked.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ LL | libc::pthread_mutex_unlock(&mut mutex as *mut _);
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

src/tools/miri/tests/fail-dep/shims/sync/libc_pthread_mutex_wrong_owner.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ LL | ...t_eq!(libc::pthread_mutex_unlock(lock_copy.0.get() as *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

src/tools/miri/tests/fail-dep/shims/sync/libc_pthread_mutexattr_double_destroy.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ LL | libc::pthread_mutexattr_destroy(attr.as_mut_ptr());
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

src/tools/miri/tests/fail-dep/shims/sync/libc_pthread_rwlock_destroy_read_locked.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ LL | libc::pthread_rwlock_destroy(rw.get());
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

src/tools/miri/tests/fail-dep/shims/sync/libc_pthread_rwlock_destroy_write_locked.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ LL | libc::pthread_rwlock_destroy(rw.get());
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

src/tools/miri/tests/fail-dep/shims/sync/libc_pthread_rwlock_double_destroy.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ LL | libc::pthread_rwlock_destroy(&mut lock);
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

src/tools/miri/tests/fail-dep/shims/sync/libc_pthread_rwlock_read_write_deadlock_single_thread.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ LL | libc::pthread_rwlock_wrlock(rw.get());
88

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

11-
error: aborting due to previous error
11+
error: aborting due to 1 previous error
1212

src/tools/miri/tests/fail-dep/shims/sync/libc_pthread_rwlock_read_wrong_owner.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ LL | ... assert_eq!(libc::pthread_rwlock_unlock(lock_copy.0.get() as *mut _),
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

src/tools/miri/tests/fail-dep/shims/sync/libc_pthread_rwlock_unlock_unlocked.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ LL | libc::pthread_rwlock_unlock(rw.get());
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

src/tools/miri/tests/fail-dep/shims/sync/libc_pthread_rwlock_write_read_deadlock.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ LL | assert_eq!(libc::pthread_rwlock_wrlock(lock_copy.0.get() as *mu
88

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

11-
error: aborting due to previous error
11+
error: aborting due to 1 previous error
1212

src/tools/miri/tests/fail-dep/shims/sync/libc_pthread_rwlock_write_read_deadlock_single_thread.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ LL | libc::pthread_rwlock_rdlock(rw.get());
88

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

11-
error: aborting due to previous error
11+
error: aborting due to 1 previous error
1212

src/tools/miri/tests/fail-dep/shims/sync/libc_pthread_rwlock_write_write_deadlock.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ LL | assert_eq!(libc::pthread_rwlock_wrlock(lock_copy.0.get() as *mu
88

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

11-
error: aborting due to previous error
11+
error: aborting due to 1 previous error
1212

src/tools/miri/tests/fail-dep/shims/sync/libc_pthread_rwlock_write_write_deadlock_single_thread.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ LL | libc::pthread_rwlock_wrlock(rw.get());
88

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

11-
error: aborting due to previous error
11+
error: aborting due to 1 previous error
1212

src/tools/miri/tests/fail-dep/shims/sync/libc_pthread_rwlock_write_wrong_owner.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ LL | ... assert_eq!(libc::pthread_rwlock_unlock(lock_copy.0.get() as *mut _),
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

src/tools/miri/tests/fail-dep/unsupported_incomplete_function.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ LL | libc::signal(libc::SIGPIPE, libc::SIG_IGN);
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

src/tools/miri/tests/fail/alloc/deallocate-bad-alignment.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ LL | dealloc(x, Layout::from_size_align_unchecked(1, 2));
1616

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

19-
error: aborting due to previous error
19+
error: aborting due to 1 previous error
2020

src/tools/miri/tests/fail/alloc/deallocate-bad-size.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ LL | dealloc(x, Layout::from_size_align_unchecked(2, 1));
1616

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

19-
error: aborting due to previous error
19+
error: aborting due to 1 previous error
2020

src/tools/miri/tests/fail/alloc/deallocate-twice.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ LL | dealloc(x, Layout::from_size_align_unchecked(1, 1));
2626

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

29-
error: aborting due to previous error
29+
error: aborting due to 1 previous error
3030

src/tools/miri/tests/fail/alloc/global_system_mixup.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ LL | System.deallocate(ptr, l);
1717

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

20-
error: aborting due to previous error
20+
error: aborting due to 1 previous error
2121

src/tools/miri/tests/fail/alloc/no_global_allocator.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ LL | __rust_alloc(1, 1);
88
= note: BACKTRACE:
99
= note: inside `start` at $DIR/no_global_allocator.rs:LL:CC
1010

11-
error: aborting due to previous error
11+
error: aborting due to 1 previous error
1212

src/tools/miri/tests/fail/alloc/reallocate-bad-size.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ LL | let _y = realloc(x, Layout::from_size_align_unchecked(2, 1), 1);
1616

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

19-
error: aborting due to previous error
19+
error: aborting due to 1 previous error
2020

src/tools/miri/tests/fail/alloc/reallocate-change-alloc.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ LL | let _y = realloc(x, Layout::from_size_align_unchecked(1, 1), 1);
2121

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

24-
error: aborting due to previous error
24+
error: aborting due to 1 previous error
2525

src/tools/miri/tests/fail/alloc/reallocate-dangling.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ LL | let _z = realloc(x, Layout::from_size_align_unchecked(1, 1), 1);
2626

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

29-
error: aborting due to previous error
29+
error: aborting due to 1 previous error
3030

src/tools/miri/tests/fail/alloc/stack_free.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ LL | drop(bad_box);
2020

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

23-
error: aborting due to previous error
23+
error: aborting due to 1 previous error
2424

0 commit comments

Comments
 (0)