]> git.lizzy.rs Git - rust.git/commit
Auto merge of #106275 - Nilstrieb:const-eval-select-me-some-compile-time, r=thomcc
authorbors <bors@rust-lang.org>
Sat, 31 Dec 2022 17:19:10 +0000 (17:19 +0000)
committerbors <bors@rust-lang.org>
Sat, 31 Dec 2022 17:19:10 +0000 (17:19 +0000)
commitdd01a163c1cff9461ddd85e7b3c2c0109657658f
tree62bd151417ba1efcce39d5c16dac90fe33c0182c
parent726bbfc8f0d6eb431dfa620c1c8fc3848020cd3c
parenta8f50453d0426de82b939bb1bbbd42af1a8a3d22
Auto merge of #106275 - Nilstrieb:const-eval-select-me-some-compile-time, r=thomcc

Use some more `const_eval_select` in pointer methods for compile times

Builds on top of #105435

`is_aligned_to` is _huge_ with calling `align_offset`, so this should cut it down a lot.

This shows up in https://github.com/rust-lang/rust/issues/65031#issuecomment-1367574340