about summary refs log tree commit diff
path: root/tests/ui/consts
AgeCommit message (Expand)AuthorLines
2023-11-08Auto merge of #116930 - RalfJung:raw-ptr-match, r=davidtwcobors-25/+70
2023-11-08Rollup merge of #113925 - clubby789:const-ctor-repeat, r=estebankMatthias Krüger-9/+55
2023-11-05Auto merge of #116218 - tgross35:const-maybe-uninit-zeroed, r=dtolnaybors-7/+6
2023-11-04Stabilize `const_mem_zeroed`Trevor Gross-7/+6
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-2/+1
2023-10-28also lint against fn ptr and raw ptr nested inside the constRalf Jung-3/+23
2023-10-28patterns: reject raw pointers that are not just integersRalf Jung-9/+34
2023-10-27Auto merge of #103208 - cjgillot:match-fake-read, r=oli-obk,RalfJungbors-0/+10
2023-10-27Auto merge of #116205 - WaffleLapkin:stabilize_pointer_byte_offsets, r=dtolnaybors-12/+9
2023-10-26Remove unused feature from a miri testMaybe Waffle-4/+3
2023-10-25Stabilize `[const_]pointer_byte_offsets`Maybe Waffle-9/+7
2023-10-25Work around the fact that `check_mod_type_wf` may spuriously return `ErrorGua...Oli Scherer-4/+44
2023-10-25Auto merge of #116482 - matthewjasper:thir-unsafeck-inline-constants, r=b-naberbors-1/+10
2023-10-24Use `PlaceMention` for match scrutinees.Camille GILLOT-0/+10
2023-10-23return unfixed len if pat has reported errorbohan-0/+33
2023-10-20Avoid a `track_errors` by bubbling up most errors from `check_well_formed`Oli Scherer-2/+12
2023-10-18Rollup merge of #116856 - oli-obk:no_effects, r=compiler-errorsAli MJ Al-Nasrawy-0/+30
2023-10-17Disable effects in libcore againOli Scherer-0/+30
2023-10-16Stop trying to preserve pretty-printing.Camille GILLOT-65/+65
2023-10-16Rebless.Camille GILLOT-11/+11
2023-10-16Normalize alloc-id in tests.Camille GILLOT-100/+100
2023-10-16Fix inline const pattern unsafety checking in THIRMatthew Jasper-1/+10
2023-10-16add oversized-ref test backRalf Jung-1/+15
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/+20
2023-10-15avoid re-checking the offset while iterating an array/sliceRalf Jung-0/+3
2023-10-15don't UB on dangling ptr deref, instead check inbounds on projectionsRalf Jung-118/+150
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-11Avoid emitting the non_exhaustive error if other errors already occurredOli Scherer-21/+2
2023-10-11Prevent spurious `unreachable pattern` lintsOli Scherer-19/+22
2023-10-10Rollup merge of #116444 - RalfJung:broken-unused-const, r=oli-obkGuillaume Gomez-0/+31
2023-10-09Rollup merge of #115882 - aliemjay:diag-name-region-1, r=compiler-errorsMatthias Krüger-4/+10
2023-10-08add test for const-eval error in dead code during monomorphizationRalf Jung-0/+31
2023-10-08Do not run optimizations on trivial MIR.Camille GILLOT-1/+1
2023-10-08remove trailing dotsAli MJ Al-Nasrawy-2/+2
2023-10-08always show and explain sub regionAli MJ Al-Nasrawy-2/+8
2023-10-06Rollup merge of #116329 - RalfJung:swap-comments, r=scottmcmGuillaume Gomez-1/+2
2023-10-05Rollup merge of #116428 - Alexendoo:note-duplicate-diagnostics, r=compiler-er...Matthias Krüger-29/+48
2023-10-05Add a note to duplicate diagnosticsAlex Macleod-29/+48
2023-10-04Fix misuses of a vs ancui fliter-1/+1
2023-10-02MIRI -> MiriRalf Jung-1/+2
2023-09-28Const stabilize mem::discriminantDavid Tolnay-2/+1
2023-09-26add misalignment const-eval testRalf Jung-0/+72
2023-09-25rename lint; add tracking issueRalf Jung-4/+4
2023-09-24work towards rejecting consts in patterns that do not implement PartialEqRalf Jung-1/+25
2023-09-22test(const_eval): add test cases for #114994Evan Merlock-0/+53