about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/const_eval
AgeCommit message (Expand)AuthorLines
2021-09-07Rename rustc_mir to rustc_const_eval.Camille GILLOT-1402/+0
2021-09-07Move the dataflow framework to its own crate.Camille GILLOT-1/+1
2021-09-02rustc_target: move `LayoutOf` to `ty::layout`.Eduard-Mihai Burtescu-1/+2
2021-07-28Improve comments about const panic handlingMara Bos-0/+2
2021-07-28Check that const_panic_fmt is const too.Mara Bos-2/+9
2021-07-28Make const panic!("..") work in Rust 2021.Mara Bos-9/+28
2021-07-24get rid of NoMirFor error variantRalf Jung-15/+4
2021-07-15adjustions and cleanup to make Miri build againRalf Jung-2/+2
2021-07-14consistently treat None-tagged pointers as ints; get rid of some deprecated S...Ralf Jung-6/+8
2021-07-14CTFE/Miri engine Pointer type overhaul: make Scalar-to-Pointer conversion inf...Ralf Jung-35/+22
2021-07-10Update testsDeadbeef-1/+1
2021-07-10Update CTFE to allow fns marked with the attrDeadbeef-6/+9
2021-07-10functions marked with attr are not constDeadbeef-3/+0
2021-07-10Treat trait fns marked with the attr as constDeadbeef-1/+4
2021-07-04Combine individual limit queries into single `limits` queryAaron Hill-2/+2
2021-07-04Query-ify global limit attribute handlingAaron Hill-3/+3
2021-07-02Allocation failure in constprop panics right awaySmitty-0/+2
2021-06-29Unwrap allocated Location at creationSmitty-5/+1
2021-06-29Support allocation failures when interperting MIRSmitty-3/+7
2021-06-16Move some hard error logic to InterpErrorSmitty-15/+17
2021-06-15Use better error message for hard errors in CTFESmitty-9/+4
2021-05-30Emit a hard error when a panic occurs during const-evalAaron Hill-52/+56
2021-05-29Auto merge of #85767 - lqd:stackless_span_stacks, r=oli-obkbors-3/+15
2021-05-28Auto merge of #85546 - hyd-dev:unwind, r=RalfJungbors-3/+3
2021-05-28const eval errors: display the current item instance if there are generics in...Rémy Rakic-3/+15
2021-05-23Pass `StackPopUnwind` to `eval_fn_call()` and some other functions that are c...hyd-dev-3/+3
2021-05-23support creating mutable allocations from byte slicesRalf Jung-2/+3
2021-05-18CTFE core engine allocation & memory API improvemenetsRalf Jung-1/+1
2021-04-25remove now-unused 'is_min_const_fn'Ralf Jung-49/+0
2021-04-19fix few typosklensy-1/+1
2021-04-02Auto merge of #76881 - hameerabbasi:issue-53325, r=oli-obkbors-0/+10
2021-03-31Add allocation information to undefined behaviour errors.Hameer Abbasi-0/+10
2021-03-29Only emit a discrimiant tag for enumsOli Scherer-1/+1
2021-03-16Update compiler/rustc_mir/src/const_eval/mod.rsOli Scherer-5/+4
2021-03-15Explain pointer and dyn Trait handling in const_to_valtreeOli Scherer-9/+7
2021-03-15Explain how we encode enums at the encoding siteOli Scherer-3/+4
2021-03-15Explain why we do not allow const_to_valtree to read from staticsOli Scherer-1/+6
2021-03-12We won't support trait object constants in type level constants for the forse...Oli Scherer-3/+5
2021-03-12Intern valtree field vectorOli Scherer-3/+7
2021-03-12Implement valtreeOli Scherer-2/+90
2021-02-25fix reviewklensy-1/+1
2021-02-24replaced some map_or with map_or_elseklensy-1/+1
2021-02-20Auto merge of #82124 - tmiasko:op-ty-ref, r=oli-obkbors-27/+27
2021-02-17Reduce size of InterpErrorInfo to 8 bytesTomasz Miąsko-4/+8
2021-02-16Pass MPlaceTy by reference not valueTomasz Miąsko-6/+6
2021-02-16Pass PlaceTy by reference not valueTomasz Miąsko-4/+4
2021-02-16Pass OpTy by reference not valueTomasz Miąsko-17/+17
2021-02-13Heat up the ICE-y error reportingEllen-1/+1
2021-02-05improve error message for disallowed ptr-to-int casts in const evalJeffrey Griffin-1/+8
2021-01-24clean up some const error reporting around promotedsRalf Jung-74/+28