Special-case raw ref op for diverging check in HIR typeck by compiler-errors · Pull Request #129371 · rust-lang/rust
rustbot
added
S-waiting-on-review
labels
Aug 21, 2024bors added a commit to rust-lang-ci/rust that referenced this pull request
Aug 22, 2024…verge-but-more, r=<try> [EXPERIMENT] Do not consider match/let/raw-ref of deref that evalautes to ! to diverge This is the more involved version of rust-lang#129371. It doesn't fully fix rust-lang#117288, since we still need to fix the fact that never type fallback can cause an unintended load via the `NeverToAny` coercion. But I did want to probe crater to see if anyone relies on this behavior currently, since that's almost certainly UB. r? `@ghost`
bors added a commit to rust-lang-ci/rust that referenced this pull request
Aug 22, 2024…verge-but-more, r=<try> [EXPERIMENT] Do not consider match/let/raw-ref of deref that evalautes to ! to diverge This is the more involved version of rust-lang#129371. It's pretty ugly rn. r? `@ghost`
bors added a commit to rust-lang-ci/rust that referenced this pull request
Aug 22, 2024…verge-but-more, r=<try> [EXPERIMENT] Do not consider match/let/raw-ref of deref that evalautes to ! to diverge This is the more involved version of rust-lang#129371. It's pretty ugly rn. r? `@ghost`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters