You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SsaRangePropagation propagates range information from optional asserts #163779
Note that this does not reproduce with + before the overflowing_add(), you need to call the Add::add()method. Which explains why this wasn't found, and also that this is probably related to #[rustc_inherit_overflow_checks].
Activity
theemathas commentedon Oct 5, 2026
As per zulip, this regressed in #150309, which shipped in 1.95.0.
cc @dianqk, @cjgillot (author and reviewer of regressing PR)
theemathas commentedon Oct 5, 2026
Playground reproducer: https://play.rust-lang.org/?version=stable&mode=release&edition=2024&gist=fa3bc42374b91e6b0b159c4e89efc146
ChayimFriedman2 commentedon Oct 5, 2026
Note that this does not reproduce with
+before theoverflowing_add(), you need to call theAdd::add()method. Which explains why this wasn't found, and also that this is probably related to#[rustc_inherit_overflow_checks].Rollup merge of rust-lang#163780 - saethlin:rangeprop-asserts, r=dianqk
Rollup merge of rust-lang#163780 - saethlin:rangeprop-asserts, r=dianqk
Unrolled build for #163780 in rollup 163829