diff options
| author | bors <bors@rust-lang.org> | 2024-02-24 04:28:53 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-02-24 04:28:53 +0000 |
| commit | 05978388922a0734fe67dd75d884794b0c0d2f59 (patch) | |
| tree | aaa40a4a7c028d16ece48cebe7fda5c86a9fc36d /compiler/rustc_pattern_analysis/src | |
| parent | 5a52c8aee97a7f57f53222000b58ffd11bfac1f7 (diff) | |
| parent | 5ab42d8e6a7fac7cfe5f06b7467d97c1138ebd46 (diff) | |
| download | rust-05978388922a0734fe67dd75d884794b0c0d2f59.tar.gz rust-05978388922a0734fe67dd75d884794b0c0d2f59.zip | |
Auto merge of #12260 - Jarcho:issue_12255, r=llogiq
Take lifetime extension into account in `ref_as_ptr` fixes #12255 This should be merged upstream as well. Changing `let x = &temp as *const _` into `let x = from_ref(&temp)` is UB. changelog: `ref_as_ptr`: Take lifetime extension into account
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions
