rust/compiler/rustc_const_eval/src
Dylan DPC deab13c681
Rollup merge of #99692 - RalfJung:too-far, r=oli-obk
interpret, ptr_offset_from: refactor and test too-far-apart check

We didn't have any tests for the "too far apart" message, and indeed that check mostly relied on the in-bounds check and was otherwise probably not entirely correct... so I rewrote that check, and it is before the in-bounds check so we can test it separately.
2022-07-26 14:26:58 +05:30
..
const_eval now we can make scalar_to_ptr a method on Scalar 2022-07-23 10:36:57 -04:00
interpret Rollup merge of #99692 - RalfJung:too-far, r=oli-obk 2022-07-26 14:26:58 +05:30
transform Revert "Rollup merge of #98582 - oli-obk:unconstrained_opaque_type, r=estebank" 2022-07-20 07:55:58 +00:00
util cleanup mir visitor for rustc::pass_by_value 2022-07-01 16:21:21 +02:00
errors.rs Migrate MutDeref, TransientMutBorrow diagnostics 2022-07-08 03:48:10 +00:00
lib.rs Auto merge of #99033 - 5225225:interpreter-validity-checks, r=oli-obk 2022-07-17 19:28:01 +00:00
might_permit_raw_init.rs Use constant eval to do strict validity checks 2022-07-14 22:55:17 +01:00