summary refs log tree commit diff
path: root/tests/ui/consts
AgeCommit message (Expand)AuthorLines
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
2024-04-09tests: bless ui and rustdoc-ui tests for ICE messages许杰友 Jieyou Xu (Joe)-0/+2
2024-04-06Do not ICE on field access check on expr with `ty::Error`Esteban Küber-0/+26
2024-04-02Rollup merge of #123226 - scottmcm:u32-shifts, r=WaffleLapkinMatthias Krüger-18/+18
2024-04-02Remove dangling `.mir.stderr` and `.thir.stderr` test filesEduardo Sánchez Muñoz-38/+0
2024-03-30Make {integer}::from_str_radix constantGeorge Bateman-0/+41
2024-03-30De-LLVM the unchecked shifts [MCP#693]Scott McMurray-18/+18
2024-03-29Auto merge of #122520 - scottmcm:stabilize_unchecked_math_basics, r=jhprattbors-1/+1
2024-03-28Auto merge of #122832 - oli-obk:no_ord_def_id3, r=michaelwoeristerbors-17/+17
2024-03-27Use `TraitRef::to_string` sorting in favor of `TraitRef::ord`, as the latter ...Oli Scherer-17/+17
2024-03-27Load missing type of impl associated constant from trait definitionOli Scherer-0/+65
2024-03-25Rollup merge of #122769 - RalfJung:reachable, r=tmiaskoJubilee-1/+14
2024-03-25extend doc comment for reachability set computationRalf Jung-1/+14
2024-03-25Auto merge of #122802 - estebank:unconstrained-generic-const, r=Nadrierilbors-1/+4
2024-03-24add issue numbers via // issue: rust-lang/rust#ISSUE_NUM directiveMatthias Krüger-1/+2
2024-03-24add test for ice 83056 "bad input type for cast"Matthias Krüger-0/+26
2024-03-23Auto merge of #122582 - scottmcm:swap-intrinsic-v2, r=oli-obkbors-2/+0
2024-03-22`swap_simple` no longer needs to be a separate functionScott McMurray-2/+0
2024-03-21Auto merge of #122568 - RalfJung:mentioned-items, r=oli-obkbors-74/+616
2024-03-21make sure we don't inline these generic fn as that could monomorphize themRalf Jung-6/+12
2024-03-21Provide structured suggestion for unconstrained generic constantEsteban Küber-1/+4
2024-03-20explicitly set opt-level=0Ralf Jung-94/+109
2024-03-20mentioned_items: record all callee and coerced closure types, whether they ar...Ralf Jung-2/+229
2024-03-20mentioned items: also handle closure-to-fn-ptr coercionsRalf Jung-0/+75
2024-03-20mentioned items: also handle vtablesRalf Jung-13/+32
2024-03-20fix comments in required-consts testsRalf Jung-34/+29
2024-03-20collector: recursively traverse 'mentioned' items to evaluate their constantsRalf Jung-25/+230