summary refs log tree commit diff
path: root/tests/ui/consts/const-eval
AgeCommit message (Expand)AuthorLines
2024-03-14Added `deny(const_eval_mutable_ptr_in_final_value)` attribute to all tests th...Felix S. Klock II-1/+26
2024-01-31Don't hash lints differently to non-lints.Nicholas Nethercote-1/+0
2024-01-22const-eval interner: from-scratch rewrite using mutability information from p...Ralf Jung-35/+7
2024-01-20Auto merge of #119821 - oli-obk:reveal_all_const_evals, r=lcnrbors-3/+2
2024-01-19Always use RevealAll for const eval queriesOli Scherer-3/+2
2024-01-16Skip dead code checks on items that failed typeckOli Scherer-4/+12
2024-01-13Bless testsGeorge-lewis-0/+3
2024-01-11Use the right level with `-Ztreat-err-as-bug`.Nicholas Nethercote-1/+1
2024-01-06remove an unnecessary stderr-per-bitwidthRalf Jung-139/+5
2023-12-24Replace legacy ConstProp by GVN.Camille GILLOT-6/+0
2023-12-12also test projecting to some sized fields at non-zero offset in structs with ...Ralf Jung-2/+7
2023-12-12make it more clear what comments refer to; avoid dangling unaligned referencesRalf Jung-5/+11
2023-12-12reject projecting to fields whose offset we cannot computeRalf Jung-59/+41
2023-12-07also print 'immutable' flagRalf Jung-48/+48
2023-12-07compile-time evaluation: emit a lint when a write through an immutable pointe...Ralf Jung-0/+85
2023-12-02Auto merge of #118077 - calebzulawski:sync-portable-simd-2023-11-19, r=workin...bors-2/+2
2023-11-30generic_const_exprs: suggest to add the feature, not use itRalf Jung-1/+1
2023-11-27make const tests independent of std debug assertionsRalf Jung-163/+112
2023-11-26Update std::simd usage and test outputsCaleb Zulawski-2/+2
2023-11-25Fix testsGary Guo-110/+111
2023-11-24Manual find replace updatesNilstrieb-5/+5
2023-11-24Show number in error message even for one errorNilstrieb-54/+54
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