summary refs log tree commit diff
path: root/tests/ui/consts/const-eval
AgeCommit message (Expand)AuthorLines
2023-10-31Do not ICE on constant evaluation failure in GVN.Camille GILLOT-3/+26
2023-10-28Auto merge of #116240 - dtolnay:constdiscriminant, r=thomccbors-1/+1
2023-10-25Stabilize `[const_]pointer_byte_offsets`Maybe Waffle-7/+5
2023-10-16Stop trying to preserve pretty-printing.Camille GILLOT-44/+44
2023-10-16Rebless.Camille GILLOT-9/+9
2023-10-16Normalize alloc-id in tests.Camille GILLOT-63/+63
2023-10-15more precise error for 'based on misaligned pointer' caseRalf Jung-7/+7
2023-10-15place evaluation: require the original pointer to be aligned if an access hap...Ralf Jung-2/+19
2023-10-15don't UB on dangling ptr deref, instead check inbounds on projectionsRalf Jung-86/+105
2023-10-14Rollup merge of #116576 - eduardosm:const-eval-wasm-target-features, r=RalfJungGuillaume Gomez-0/+14
2023-10-14const-eval: allow calling functions with targat features disabled at compile ...Eduardo Sánchez Muñoz-0/+14
2023-10-14Auto merge of #116015 - EvanMerlock:master, r=oli-obkbors-0/+53
2023-10-14Auto merge of #115524 - RalfJung:misalign, r=wesleywiserbors-0/+72
2023-10-10Rollup merge of #116444 - RalfJung:broken-unused-const, r=oli-obkGuillaume Gomez-0/+31
2023-10-08add test for const-eval error in dead code during monomorphizationRalf Jung-0/+31
2023-10-06Rollup merge of #116329 - RalfJung:swap-comments, r=scottmcmGuillaume Gomez-1/+2
2023-10-05Add a note to duplicate diagnosticsAlex Macleod-5/+9
2023-10-02MIRI -> MiriRalf Jung-1/+2
2023-09-28Const stabilize mem::discriminantDavid Tolnay-1/+1
2023-09-26add misalignment const-eval testRalf Jung-0/+72
2023-09-22test(const_eval): add test cases for #114994Evan Merlock-0/+53
2023-09-14don't point at const usage site for resolution-time errorsRalf Jung-23/+23
2023-09-05Auto merge of #115531 - RalfJung:read_via_copy, r=scottmcmbors-4/+26
2023-09-04read_via_copy: don't prematurely optimize away the readRalf Jung-4/+26
2023-09-04Auto merge of #115513 - Urgau:normalize-msg-after-translate, r=petrochenkovbors-0/+16
2023-09-03Don't forget to normalize the translated messageUrgau-0/+16
2023-08-24Fix ub-int-array test for big-endian platformsUlrich Weigand-42/+10
2023-08-02const validation: point at where we found a pointer but expected an integerRalf Jung-131/+165
2023-08-02Auto merge of #114333 - RalfJung:dangling-ptr-offset, r=oli-obkbors-4/+4
2023-08-01properly track why we checked whether a pointer is in-boundsRalf Jung-4/+4
2023-08-01Auto merge of #112849 - m-ou-se:panic-message-format, r=thomccbors-1/+1
2023-07-30Auto merge of #112843 - chenyukang:yukang-more-on-backtrace, r=workingjubileebors-1/+1
2023-07-30Rollup merge of #102198 - lukas-code:nonnull_as_ref, r=AmanieuMatthias Krüger-0/+30
2023-07-29print omitted frames count for short backtrace modeyukang-1/+1
2023-07-29Change default panic handler message format.Mara Bos-1/+1
2023-07-25bless moreRalf Jung-7/+20
2023-07-25interpret: refactor projection code to work on a common trait, and use that f...Ralf Jung-10/+29
2023-07-24interpret: support projecting into Place::Local without force_allocationRalf Jung-1/+1
2023-07-16Add const-eval test for `#[target_feature(enable = ...)]` function callsEduardo Sánchez Muñoz-0/+26
2023-06-27Don't sort strings right after we just sorted by typesMichael Goulet-4/+4
2023-06-12Adjust UI tests for `unit_bindings`许杰友 Jieyou Xu (Joe)-10/+10
2023-06-01Use translatable diagnostics in `rustc_const_eval`Deadbeef-31/+35
2023-05-31Remove const eval limit and implement an exponential backoff lint insteadOli Scherer-88/+177
2023-05-23add tests for const `NonNull::as_ref`Lukas Markeffsky-0/+30
2023-05-15Suppress "erroneous constant used" for constants tainted by errorsTomasz Miąsko-56/+0
2023-05-05Stabilize const_ptr_readbors-18/+17
2023-04-27bless testsThe 8472-4/+4
2023-04-21Ensure mir_drops_elaborated_and_const_checked when requiring codegen.Camille GILLOT-0/+2
2023-04-19Auto merge of #110061 - WaffleLapkin:duality_of_myself_and_this, r=cjgillotbors-0/+4
2023-04-19Extend and use `hir::Node::body_id`Maybe Waffle-0/+4