Miri detects a violation of stacked borrows in slice::sort_unstable with -Zmiri-track-raw-pointers #91306
Labels
A-miri
Area: The miri tool
A-raw-pointers
Area: raw pointers, MaybeUninit, NonNull
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Uh oh!
There was an error while loading. Please reload this page.
Similar to #78749?
I tried this code:
MIRIFLAGS="-Zmiri-track-raw-pointers" cargo +nightly miri run
I expected to see this happen: Miri does not detect UB
Instead, this happened: Miri detects UB (experimentally)
Meta
rustc --version --verbose
:Backtrace
The text was updated successfully, but these errors were encountered: