Skip to content

Commit 8c95a79

Browse files
committed
Auto merge of #3494 - rust-lang:rustup-2024-04-20, r=RalfJung
Automatic Rustup
2 parents 9b36914 + dfc32c7 commit 8c95a79

35 files changed

+34
-2
lines changed

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
fa0068b5412baecc932772dda72c0621bfa7ab00
1+
c8d19a92aa9022eb690899cf6d54fd23cb6877e5

src/borrow_tracker/tree_borrows/exhaustive.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
//! (These are used in Tree Borrows `#[test]`s for thorough verification
33
//! of the behavior of the state machine of permissions,
44
//! but the contents of this file are extremely generic)
5-
#![cfg(test)]
65
76
pub trait Exhaustive: Sized {
87
fn exhaustive() -> Box<dyn Iterator<Item = Self>>;

tests/fail/function_calls/exported_symbol_bad_unwind1.stderr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
thread 'main' panicked at $DIR/exported_symbol_bad_unwind1.rs:LL:CC:
22
explicit panic
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4+
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
45
error: Undefined Behavior: unwinding past a stack frame that does not allow unwinding
56
--> $DIR/exported_symbol_bad_unwind1.rs:LL:CC
67
|

tests/fail/function_calls/exported_symbol_bad_unwind2.both.stderr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
thread 'main' panicked at $DIR/exported_symbol_bad_unwind2.rs:LL:CC:
22
explicit panic
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4+
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
45
thread 'main' panicked at RUSTLIB/core/src/panicking.rs:LL:CC:
56
panic in a function that cannot unwind
67
stack backtrace:

tests/fail/function_calls/exported_symbol_bad_unwind2.definition.stderr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
thread 'main' panicked at $DIR/exported_symbol_bad_unwind2.rs:LL:CC:
22
explicit panic
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4+
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
45
thread 'main' panicked at RUSTLIB/core/src/panicking.rs:LL:CC:
56
panic in a function that cannot unwind
67
stack backtrace:

tests/fail/function_calls/exported_symbol_bad_unwind2.extern_block.stderr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
thread 'main' panicked at $DIR/exported_symbol_bad_unwind2.rs:LL:CC:
22
explicit panic
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4+
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
45
error: Undefined Behavior: unwinding past a stack frame that does not allow unwinding
56
--> $DIR/exported_symbol_bad_unwind2.rs:LL:CC
67
|

tests/fail/function_calls/return_pointer_on_unwind.stderr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
thread 'main' panicked at $DIR/return_pointer_on_unwind.rs:LL:CC:
22
explicit panic
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4+
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
45
error: Undefined Behavior: using uninitialized data, but this operation requires initialized memory
56
--> $DIR/return_pointer_on_unwind.rs:LL:CC
67
|

tests/fail/intrinsics/uninit_uninhabited_type.stderr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
thread 'main' panicked at RUSTLIB/core/src/panicking.rs:LL:CC:
22
aborted execution: attempted to instantiate uninhabited type `!`
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4+
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
45
thread caused non-unwinding panic. aborting.
56
error: abnormal termination: the program aborted execution
67
--> RUSTLIB/std/src/sys/pal/PLATFORM/mod.rs:LL:CC

tests/fail/intrinsics/zero_fn_ptr.stderr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
thread 'main' panicked at RUSTLIB/core/src/panicking.rs:LL:CC:
22
aborted execution: attempted to zero-initialize type `fn()`, which is invalid
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4+
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
45
thread caused non-unwinding panic. aborting.
56
error: abnormal termination: the program aborted execution
67
--> RUSTLIB/std/src/sys/pal/PLATFORM/mod.rs:LL:CC

tests/fail/panic/bad_unwind.stderr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
thread 'main' panicked at $DIR/bad_unwind.rs:LL:CC:
22
explicit panic
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4+
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
45
error: Undefined Behavior: unwinding past a stack frame that does not allow unwinding
56
--> $DIR/bad_unwind.rs:LL:CC
67
|

tests/fail/panic/double_panic.stderr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
thread 'main' panicked at $DIR/double_panic.rs:LL:CC:
22
first
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4+
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
45
thread 'main' panicked at $DIR/double_panic.rs:LL:CC:
56
second
67
stack backtrace:

tests/fail/panic/panic_abort1.stderr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
thread 'main' panicked at $DIR/panic_abort1.rs:LL:CC:
22
panicking from libstd
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4+
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
45
error: abnormal termination: the program aborted execution
56
--> RUSTLIB/panic_abort/src/lib.rs:LL:CC
67
|

tests/fail/panic/panic_abort2.stderr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
thread 'main' panicked at $DIR/panic_abort2.rs:LL:CC:
22
42-panicking from libstd
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4+
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
45
error: abnormal termination: the program aborted execution
56
--> RUSTLIB/panic_abort/src/lib.rs:LL:CC
67
|

tests/fail/panic/panic_abort3.stderr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
thread 'main' panicked at $DIR/panic_abort3.rs:LL:CC:
22
panicking from libcore
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4+
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
45
error: abnormal termination: the program aborted execution
56
--> RUSTLIB/panic_abort/src/lib.rs:LL:CC
67
|

tests/fail/panic/panic_abort4.stderr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
thread 'main' panicked at $DIR/panic_abort4.rs:LL:CC:
22
42-panicking from libcore
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4+
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
45
error: abnormal termination: the program aborted execution
56
--> RUSTLIB/panic_abort/src/lib.rs:LL:CC
67
|

tests/fail/terminate-terminator.stderr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ warning: You have explicitly enabled MIR optimizations, overriding Miri's defaul
33
thread 'main' panicked at $DIR/terminate-terminator.rs:LL:CC:
44
explicit panic
55
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
6+
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
67
thread 'main' panicked at RUSTLIB/core/src/panicking.rs:LL:CC:
78
panic in a function that cannot unwind
89
stack backtrace:

tests/fail/unwind-action-terminate.stderr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
thread 'main' panicked at $DIR/unwind-action-terminate.rs:LL:CC:
22
explicit panic
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4+
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
45
thread 'main' panicked at RUSTLIB/core/src/panicking.rs:LL:CC:
56
panic in a function that cannot unwind
67
stack backtrace:
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
thread 'main' panicked at $DIR/alloc_error_handler_hook.rs:LL:CC:
22
alloc error hook called
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4+
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
45
yes we are unwinding!
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
thread 'main' panicked at RUSTLIB/std/src/alloc.rs:LL:CC:
22
memory allocation of 4 bytes failed
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4+
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
45
yes we are unwinding!

tests/panic/div-by-zero-2.stderr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
thread 'main' panicked at $DIR/div-by-zero-2.rs:LL:CC:
22
attempt to divide by zero
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4+
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect

tests/panic/function_calls/exported_symbol_good_unwind.stderr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
thread 'main' panicked at $DIR/exported_symbol_good_unwind.rs:LL:CC:
22
explicit panic
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4+
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
45
thread 'main' panicked at $DIR/exported_symbol_good_unwind.rs:LL:CC:
56
explicit panic
67
thread 'main' panicked at $DIR/exported_symbol_good_unwind.rs:LL:CC:

tests/panic/oob_subslice.stderr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
thread 'main' panicked at $DIR/oob_subslice.rs:LL:CC:
22
range end index 5 out of range for slice of length 4
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4+
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
thread 'main' panicked at $DIR/overflowing-lsh-neg.rs:LL:CC:
22
attempt to shift left with overflow
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4+
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect

tests/panic/overflowing-rsh-1.stderr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
thread 'main' panicked at $DIR/overflowing-rsh-1.rs:LL:CC:
22
attempt to shift right with overflow
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4+
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect

tests/panic/overflowing-rsh-2.stderr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
thread 'main' panicked at $DIR/overflowing-rsh-2.rs:LL:CC:
22
attempt to shift right with overflow
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4+
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect

tests/panic/panic2.stderr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
thread 'main' panicked at $DIR/panic2.rs:LL:CC:
22
42-panicking from libstd
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4+
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect

tests/panic/panic3.stderr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
thread 'main' panicked at $DIR/panic3.rs:LL:CC:
22
panicking from libcore
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4+
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect

tests/panic/panic4.stderr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
thread 'main' panicked at $DIR/panic4.rs:LL:CC:
22
42-panicking from libcore
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4+
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect

tests/panic/transmute_fat2.stderr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
thread 'main' panicked at $DIR/transmute_fat2.rs:LL:CC:
22
index out of bounds: the len is 0 but the index is 0
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4+
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
thread 'main' panicked at $DIR/unsupported_foreign_function.rs:LL:CC:
22
unsupported Miri functionality: can't call foreign function `foo` on $OS
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4+
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
thread 'main' panicked at $DIR/unsupported_syscall.rs:LL:CC:
22
unsupported Miri functionality: can't execute syscall with ID 0
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4+
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect

tests/pass/panic/catch_panic.stderr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
thread 'main' panicked at $DIR/catch_panic.rs:LL:CC:
22
Hello from std::panic
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4+
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
45
Caught panic message (&str): Hello from std::panic
56
thread 'main' panicked at $DIR/catch_panic.rs:LL:CC:
67
Hello from std::panic: 1

tests/pass/panic/concurrent-panic.stderr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ Thread 1 reported it has started
33
thread '<unnamed>' panicked at $DIR/concurrent-panic.rs:LL:CC:
44
panic in thread 2
55
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
6+
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
67
Thread 2 blocking on thread 1
78
Thread 2 reported it has started
89
Unlocking mutex
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
thread 'main' panicked at $DIR/nested_panic_caught.rs:LL:CC:
22
once
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4+
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
45
thread 'main' panicked at $DIR/nested_panic_caught.rs:LL:CC:
56
twice
67
stack backtrace:

tests/pass/panic/thread_panic.stderr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
thread '<unnamed>' panicked at $DIR/thread_panic.rs:LL:CC:
22
Hello!
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4+
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
45
thread 'childthread' panicked at $DIR/thread_panic.rs:LL:CC:
56
Hello, world!

0 commit comments

Comments
 (0)