rust/compiler/rustc_mir/src/interpret
Yuki Okushi 47050275f4
Rollup merge of #84972 - RalfJung:null-ptr-msg, r=oli-obk
CTFE inbounds-error-messages tweak

* use CheckInAllocMsg::PointerArithmeticTest for ptr_offset error
* nicer errors for some null pointer cases

r? `@oli-obk`
2021-05-07 15:20:29 +09:00
..
intrinsics Add tcx lifetime to Binder 2021-03-31 10:13:57 -04:00
cast.rs Pass ImmTy by reference not value 2021-02-16 23:52:05 +01:00
eval_context.rs Auto merge of #83207 - oli-obk:valtree2, r=lcnr 2021-04-02 10:28:12 +00:00
intern.rs all InterpError allocate now, so adjust alloc-error-check 2021-02-20 19:01:25 +01:00
intrinsics.rs Rollup merge of #84972 - RalfJung:null-ptr-msg, r=oli-obk 2021-05-07 15:20:29 +09:00
machine.rs use CheckInAllocMsg::PointerArithmeticTest for ptr_offset error 2021-05-06 10:39:35 +02:00
memory.rs Change 'NULL' to 'null' 2021-05-02 17:46:00 -06:00
mod.rs interning cleanup: we no longer need to distinguish Const and ConstInner; we no longer need the ignore_interior_mut_in_const hack 2020-10-26 08:56:54 +01:00
operand.rs fix few typos 2021-04-19 15:57:08 +03:00
operator.rs Pass PlaceTy by reference not value 2021-02-16 23:52:05 +01:00
place.rs Change 'NULL' to 'null' 2021-05-02 17:46:00 -06:00
step.rs CTFE engine: rename copy → copy_intrinsic, move to intrinsics.rs 2021-05-04 13:56:31 +02:00
terminator.rs rustc_target: add "unwind" payloads to Abi 2021-03-09 14:38:29 -05:00
traits.rs remove useless ?s (clippy::needless_question_marks) 2021-02-17 23:23:57 +01:00
util.rs Use Option::map_or instead of .map(..).unwrap_or(..) 2021-01-14 19:23:59 +01:00
validity.rs use CheckInAllocMsg::PointerArithmeticTest for ptr_offset error 2021-05-06 10:39:35 +02:00
visitor.rs ./x.py fmt 2021-02-16 23:52:05 +01:00