about summary refs log tree commit diff
path: root/tests/ui/consts
AgeCommit message (Expand)AuthorLines
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
2024-03-18Rollup merge of #122158 - estebank:feature-sugg, r=WaffleLapkinMatthias Krüger-82/+157
2024-03-18Provide structured suggestion for `#![feature(foo)]`Esteban Küber-82/+157
2024-03-17Rollup merge of #122572 - the8472:test-const-deadness, r=RalfJungMatthias Krüger-0/+46
2024-03-17add test for #122301 to cover behavior that's on stableThe 8472-0/+46
2024-03-17Auto merge of #121885 - reitermarkus:generic-nonzero-inner, r=oli-obk,wesleyw...bors-6/+6
2024-03-14Stabilize `unchecked_{add,sub,mul}`Scott McMurray-1/+1
2024-03-14preserve span when evaluating mir::ConstOperandRalf Jung-0/+130
2024-03-14Rollup merge of #122440 - RalfJung:required-consts, r=oli-obkMatthias Krüger-72/+447
2024-03-13include 32-bit variant for updated test of miri diagnostics.Felix S. Klock II-13/+167
2024-03-13const-eval: organize and extend tests for required-constsRalf Jung-72/+447
2024-03-13Rebase. Update expected output to match current output.Felix S. Klock II-89/+57
2024-03-13Updated the test to include more output normalization.Felix S. Klock II-31/+34
2024-03-13Added `deny(const_eval_mutable_ptr_in_final_value)` attribute to all tests th...Felix S. Klock II-60/+634
2024-03-13regression test from 121610.Felix S. Klock II-0/+41
2024-03-12Auto merge of #121644 - oli-obk:unique_static_innards2, r=RalfJung,nnethercotebors-0/+60
2024-03-12Ensure nested allocations in statics do not get deduplicatedOli Scherer-5/+7
2024-03-12Add tests showing how we duplicate allocations when we shouldn'tAmanjeev Sethi-0/+58
2024-03-12Rollup merge of #122343 - compiler-errors:rando, r=fmeaseMatthias Krüger-1/+0
2024-03-12Auto merge of #122036 - alexcrichton:test-wasm-with-wasi, r=oli-obkbors-2/+1
2024-03-11Remove some unnecessary allow(incomplete_features)Michael Goulet-1/+0
2024-03-11Update test directives for `wasm32-wasip1`Alex Crichton-2/+1
2024-03-11Rollup merge of #121893 - RalfJung:const-interior-mut-tests, r=oli-obkJubilee-28/+113
2024-03-11promote-not: add test that distinguishes promotion from outer scope ruleRalf Jung-22/+42
2024-03-11const-checking: add some corner case tests, and fix some nitsRalf Jung-1/+46