rust/compiler/rustc_const_eval
bors c5d82ed7a4 Auto merge of #102795 - lukas-code:constify-is-aligned-via-align-offset, r=oli-obk
Constify `is_aligned` via `align_offset`

Alternative to https://github.com/rust-lang/rust/pull/102753

Make `align_offset` work in const eval (and not always return `usize::MAX`) and then use that to constify `is_aligned{_to}`.

Tracking Issue: https://github.com/rust-lang/rust/issues/104203
2022-11-19 18:57:39 +00:00
..
src Auto merge of #102795 - lukas-code:constify-is-aligned-via-align-offset, r=oli-obk 2022-11-19 18:57:39 +00:00
Cargo.toml Remove from compiler/ crates 2022-09-29 16:49:04 +09:00