about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/const_goto.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-01-07 09:13:32 +0000
committerbors <bors@rust-lang.org>2024-01-07 09:13:32 +0000
commit9522993b033e57579dcdee960d8792932aba791f (patch)
tree9bc78dc8590b28e606e37b6d1bd717ce821499e8 /compiler/rustc_mir_transform/src/const_goto.rs
parent6f4af9cbfc5ec176359c85446d1259a988299ea0 (diff)
parent93b34a5ffa753d6cdaca8aab349408e945412ebd (diff)
downloadrust-9522993b033e57579dcdee960d8792932aba791f.tar.gz
rust-9522993b033e57579dcdee960d8792932aba791f.zip
Auto merge of #114205 - the8472:vec-iter-nonnull, r=scottmcm
mark vec::IntoIter pointers as `!nonnull`

This applies the same NonNull optimizations to `vec::IntoIter` as  #113344 did for `slice::Iter`

[Godbolt](https://rust.godbolt.org/z/n1cTea718) showing the test IR on current nightly, note the absence of `!nonnull` on the loads.

r? `@scottmcm`
Diffstat (limited to 'compiler/rustc_mir_transform/src/const_goto.rs')
0 files changed, 0 insertions, 0 deletions