Uh oh!
There was an error while loading. Please reload this page.
miri/const eval: support MaybeDangling - #150446
Conversation
rustbot
commented
Dec 27, 2025
This comment has been minimized.
This comment has been minimized.
96d2a1d to
72213c3Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
72213c3 to
0d9e008Compare
This comment has been minimized.
This comment has been minimized.
0d9e008 to
ae69218Compare
This comment has been minimized.
This comment has been minimized.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
theemathas
commented
Dec 28, 2025
Does this have insta-stable behavior change for ManuallyDrop in consteval? |
RalfJung
commented
Dec 28, 2025
It should only affect the behavior of code that still has UB until |
RalfJung
commented
Jan 4, 2026
It is very import that we land #150447 before landing this, to avoid a situation where we generate LLVM IR with UB but Miri reports no UB. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
e5b7d00 to
959b31bCompareWaffleLapkin
commented
Feb 26, 2026
@RalfJung I think I've addressed the review comments and this is ready for review too :) (still blocked on the compiler change though) |
Uh oh!
There was an error while loading. Please reload this page.
4a26802 to
76a750aComparerustbot
commented
Mar 9, 2026
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
WaffleLapkin
commented
Mar 9, 2026
@rustbot review |
RalfJung
commented
Mar 9, 2026
Awesome, thanks a lot! |
…r=RalfJung miri/const eval: support `MaybeDangling` r? RalfJung
…r=RalfJung miri/const eval: support `MaybeDangling` r? RalfJung
…r=RalfJung miri/const eval: support `MaybeDangling` r? RalfJung
Uh oh!
There was an error while loading. Please reload this page.
Rollup merge of #150446 - WaffleLapkin:miri-maybe-dangling, r=RalfJung miri/const eval: support `MaybeDangling` r? RalfJung
…uwer Rollup of 4 pull requests Successful merges: - rust-lang/rust#147834 (Always make tuple elements a coercion site) - rust-lang/rust#150446 (miri/const eval: support `MaybeDangling`) - rust-lang/rust#153053 (stop marking `deref_patterns` as an incomplete feature) - rust-lang/rust#153398 (fix ICE in `const_c_variadic` when passing ZSTs)
…r=jhpratt Document that `ManuallyDrop`'s `Box` interaction has been fixed Both rust-lang#150447 and rust-lang#150446 has been merged in `1.96.0`, fixing the unfortunate `ManuallyDrop<Box<_>>` behavior. cc @RalfJung
…r=jhpratt Document that `ManuallyDrop`'s `Box` interaction has been fixed Both rust-lang#150447 and rust-lang#150446 has been merged in `1.96.0`, fixing the unfortunate `ManuallyDrop<Box<_>>` behavior. cc @RalfJung
…r=jhpratt Document that `ManuallyDrop`'s `Box` interaction has been fixed Both rust-lang#150447 and rust-lang#150446 has been merged in `1.96.0`, fixing the unfortunate `ManuallyDrop<Box<_>>` behavior. cc @RalfJung
…r=jhpratt Document that `ManuallyDrop`'s `Box` interaction has been fixed Both rust-lang#150447 and rust-lang#150446 has been merged in `1.96.0`, fixing the unfortunate `ManuallyDrop<Box<_>>` behavior. cc @RalfJung
View all comments
r? RalfJung