Skip to content

Commit 0074b00

Browse files
authored
Merge pull request #4197 from rust-lang/rustup-2025-02-19
Automatic Rustup
2 parents 4639747 + 080d905 commit 0074b00

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
d1fb81e8dd5354ddf7cb334d5a234cab7f64b3bb
1+
17c1c329a5512d718b67ef6797538b154016cd34

tests/fail/ptr_swap_nonoverlapping.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11

22
thread 'main' panicked at RUSTLIB/core/src/panicking.rs:LL:CC:
33
unsafe precondition(s) violated: ptr::swap_nonoverlapping requires that both pointer arguments are aligned and non-null and the specified memory ranges do not overlap
4+
5+
This indicates a bug in the program. This Undefined Behavior check is optional, and cannot be relied on for safety.
46
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
57
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
68
thread caused non-unwinding panic. aborting.

0 commit comments

Comments
 (0)