about summary refs log tree commit diff
path: root/tests/ui/consts
AgeCommit message (Expand)AuthorLines
2024-06-14Add more testsMichael Goulet-0/+245
2024-06-14Resolve elided lifetimes in assoc const to static if no other lifetimes are i...Michael Goulet-0/+12
2024-06-14Rollup merge of #126426 - RalfJung:dangling-zst-ice, r=oli-obkMatthias Krüger-3/+38
2024-06-14const validation: fix ICE on dangling ZST referenceRalf Jung-3/+38
2024-06-13Tweak output of import suggestionsEsteban Küber-4/+8
2024-06-12Spell out other trait diagnosticAlex Macleod-16/+16
2024-06-12Require any function with a tait in its signature to actually constrain a hid...Oli Scherer-0/+244
2024-06-11add const eval bool-to-int cast testRalf Jung-0/+31
2024-06-05Bless tests and handle tests/crashesBoxy-18/+11
2024-06-03Auto merge of #125778 - estebank:issue-67100, r=compiler-errorsbors-8/+8
2024-05-29Use parenthetical notation for `Fn` traitsEsteban Küber-8/+8
2024-05-29Partially implement `ConstArgHasType`Boxy-51/+0
2024-05-26Auto merge of #124661 - RalfJung:only-structural-consts-in-patterns, r=pnkfelixbors-202/+32
2024-05-26Auto merge of #125518 - saethlin:check-arguments-new-in-const, r=joboetbors-4/+4
2024-05-24Move the checks for Arguments constructors to inline constBen Kimock-4/+4
2024-05-23Allow const eval failures if the cause is a type layout issueOli Scherer-14/+26
2024-05-23Add regression testsOli Scherer-0/+42
2024-05-23Auto merge of #125359 - RalfJung:interpret-overflowing-ops, r=oli-obkbors-3/+3
2024-05-21interpret: make overflowing binops just normal binopsRalf Jung-3/+3
2024-05-13offset, offset_from: allow zero-byte offset on arbitrary pointersRalf Jung-63/+36
2024-05-09interpret/miri: better errors on failing offset_fromRalf Jung-7/+7
2024-05-03turn pointer_structural_match into a hard errorRalf Jung-140/+11
2024-05-03remove IndirectStructuralMatch lint, emit the usual hard error insteadRalf Jung-62/+21
2024-05-02Stabilize exclusive_rangeRoss Smyth-1/+1
2024-05-01Add inline comments why we're forcing the target cpuJosh Stone-1/+2
2024-05-01Use an explicit x86-64 cpu in tests that are sensitive to itJosh Stone-1/+1
2024-04-27Rollup merge of #124425 - saethlin:ceci-nest-pas-une-ice, r=compiler-errorsMatthias Krüger-0/+52
2024-04-27Add missing tests for an ICEGurinder Singh-0/+76
2024-04-26Do not ICE on invalid consts when walking mono-reachable blocksBen Kimock-0/+52
2024-04-24Fix tests and blessGary Guo-6/+2
2024-04-23properly fill a promoted's required_constsRalf Jung-1/+89
2024-04-23promotion: do not promote const-fn calls in const when that may fail without ...Ralf Jung-219/+60
2024-04-22Rollup merge of #124230 - reitermarkus:generic-nonzero-stable, r=dtolnayGuillaume Gomez-4/+2
2024-04-22Stabilize generic `NonZero`.Markus Reiter-4/+2
2024-04-22Rollup merge of #124240 - matthiaskrgr:tests_sunday, r=compiler-errorsMatthias Krüger-0/+62
2024-04-21add test for #121413Matthias Krüger-0/+62
2024-04-21Move some testsCaio-0/+33
2024-04-18Auto merge of #122684 - oli-obk:delay_interning_errors_to_after_validaiton, r...bors-460/+241
2024-04-17Auto merge of #123936 - Mark-Simulacrum:zst-no-alloc, r=oli-obkbors-8/+13
2024-04-17Validate before reporting interning errors.Oli Scherer-490/+201
2024-04-17Validate nested static itemsOli Scherer-61/+131
2024-04-16Codegen ZSTs without an allocationMark Rousskov-8/+13
2024-04-17Rollup merge of #124000 - compiler-errors:sugg-tweaks, r=wesleywiserGuillaume Gomez-2/+2
2024-04-16Fail candidate assembly for erroneous typesGurinder Singh-0/+39
2024-04-15Use /* value */ as a placeholderMichael Goulet-2/+2
2024-04-15Fix pretty hir for anon consts in diagnosticsMichael Goulet-1/+1
2024-04-14Fix value suggestion for array in generic contextMichael Goulet-0/+26
2024-04-12Stabilize (const_)slice_ptr_len and (const_)slice_ptr_is_empty_nonnullEduardo Sánchez Muñoz-1/+0
2024-04-11Rollup merge of #123704 - estebank:diag-changes, r=compiler-errorsMatthias Krüger-2/+2
2024-04-10Handle more cases of value suggestionsEsteban Küber-2/+2