rust/compiler/rustc_const_eval/src
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
..
const_eval Revert "don't call align_offset during const eval, ever" 2022-11-19 16:58:02 +01:00
interpret constify exact_div intrinsic 2022-11-19 16:36:08 +01:00
transform Rollup merge of #104593 - compiler-errors:rpitit-object-safety-spans, r=fee1-dead 2022-11-19 15:35:23 +01:00
util use ocx type relation routines 2022-11-15 14:13:47 +01:00
errors.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
lib.rs Remove allow(rustc::potential_query_instability) in rustc_const_eval 2022-10-18 17:44:01 +02:00