about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/interpret/validity.rs
AgeCommit message (Expand)AuthorLines
2021-09-07Rename rustc_mir to rustc_const_eval.Camille GILLOT-965/+0
2021-09-02rustc_target: move `LayoutOf` to `ty::layout`.Eduard-Mihai Burtescu-4/+2
2021-08-25Auto merge of #88242 - bonega:allocation_range, r=oli-obkbors-19/+8
2021-08-23Rename to WrappingRangeAndreas Liljeqvist-4/+4
2021-08-23Use refAndreas Liljeqvist-1/+1
2021-08-22Use custom wrap-around type instead of RangeAndreas Liljeqvist-19/+8
2021-08-22Fix typos “an”→“a” and a few different ones that appeared in the sa...Frank Steffahn-1/+1
2021-07-16get rid of incorrect erase_for_fmtRalf Jung-5/+8
2021-07-14remove unused error variantRalf Jung-8/+3
2021-07-14consistently treat None-tagged pointers as ints; get rid of some deprecated S...Ralf Jung-2/+2
2021-07-14CTFE/Miri engine Pointer type overhaul: make Scalar-to-Pointer conversion inf...Ralf Jung-18/+8
2021-06-14Adjust `throw_validation_failure` macro to shorten the use of `with_no_trimme...Rémy Rakic-13/+10
2021-06-13Improve CTFE validation error messageRémy Rakic-8/+12
2021-06-13Turn incorrect vtable size/alignment errors into hard const-UB errorsRémy Rakic-1/+5
2021-05-18add Align::ONE; add methods to access alloc.extraRalf Jung-2/+2
2021-05-18CTFE core engine allocation & memory API improvemenetsRalf Jung-28/+28
2021-05-15handle pointers in strRalf Jung-0/+1
2021-05-06use CheckInAllocMsg::PointerArithmeticTest for ptr_offset errorRalf Jung-2/+2
2021-05-02Change 'NULL' to 'null'Brent Kerby-3/+3
2021-03-18Replace closures_captures and upvar_capture with closure_min_capturesJennifer Wills-10/+13
2021-02-20Auto merge of #82124 - tmiasko:op-ty-ref, r=oli-obkbors-20/+20
2021-02-17Reduce size of InterpErrorInfo to 8 bytesTomasz Miąsko-12/+15
2021-02-16Pass MPlaceTy by reference not valueTomasz Miąsko-1/+1
2021-02-16Pass ImmTy by reference not valueTomasz Miąsko-1/+1
2021-02-16Pass OpTy by reference not valueTomasz Miąsko-18/+18
2021-02-16validation: fix invalid-fn-ptr error messageRalf Jung-1/+4
2021-02-13CTFE validation: catch ReadPointerAsBytes and better errorRalf Jung-13/+29
2021-01-18Fix ICE with `ReadPointerAsBytes` validation errorCamelid-1/+5
2020-12-30Rollup merge of #80491 - RalfJung:dangling-of-val, r=oli-obkMara Bos-1/+1
2020-12-30where possible, pass slices instead of &Vec or &String (clippy::ptr_arg)Matthias Krüger-1/+1
2020-12-29Miri: make size/align_of_val work for dangling raw ptrsRalf Jung-1/+1
2020-12-20promoteds in statics may refer to staticsRalf Jung-8/+12
2020-10-29Rollup merge of #78475 - RalfJung:validity-comment, r=oli-obkYuki Okushi-2/+1
2020-10-28fix a comment in validity checkRalf Jung-2/+1
2020-10-26interning cleanup: we no longer need to distinguish Const and ConstInner; we ...Ralf Jung-2/+6
2020-10-26move &mut-in-const check from interning to validationRalf Jung-1/+9
2020-10-26move UnsafeCell-in-const check from interning to validationRalf Jung-29/+45
2020-10-21Miri engine validity check: simplify code with 'matches!'Ralf Jung-12/+8
2020-09-19Address review commentsOliver Scherer-17/+17
2020-09-19Validate constants during `const_eval_raw`Oliver Scherer-8/+10
2020-09-04Change ty.kind to a methodLeSeulArtichaut-7/+7
2020-09-02pretty: trim paths of unique symbolsDan Aloni-12/+16
2020-08-30mv compiler to compiler/mark-0/+922