about summary refs log tree commit diff
path: root/tests/ui/consts/const-eval
AgeCommit message (Expand)AuthorLines
2024-07-27improve dangling/oob errors and make them more uniformRalf Jung-10/+10
2024-07-26Rollup merge of #124941 - Skgland:stabilize-const-int-from-str, r=dtolnayTrevor Gross-4/+2
2024-07-19Rollup merge of #127856 - RalfJung:interpret-cast-sanity, r=oli-obkMatthias Krüger-182/+113
2024-07-18interpret: add sanity check in dyn upcast to double-check what codegen doesRalf Jung-182/+113
2024-07-12Make parse error suggestions verbose and fix spansEsteban Küber-6/+21
2024-07-11Always use a colon in `//@ normalize-*:` headersZalathar-27/+27
2024-07-04stabilize `const_int_from_str`Skgland-4/+2
2024-06-22don't ICE when encountering an extern type field during validationRalf Jung-1/+25
2024-06-19Remove c_unwind from tests and fix testsGary Guo-1/+1
2024-06-12Spell out other trait diagnosticAlex Macleod-8/+8
2024-06-11add const eval bool-to-int cast testRalf Jung-0/+31
2024-05-24Move the checks for Arguments constructors to inline constBen Kimock-4/+4
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-27Add missing tests for an ICEGurinder Singh-0/+76
2024-04-24Fix tests and blessGary Guo-2/+0
2024-04-23promotion: do not promote const-fn calls in const when that may fail without ...Ralf Jung-184/+0
2024-04-22Stabilize generic `NonZero`.Markus Reiter-3/+2
2024-04-17Validate before reporting interning errors.Oli Scherer-6/+16
2024-04-16Fail candidate assembly for erroneous typesGurinder Singh-0/+39
2024-04-09tests: bless ui and rustdoc-ui tests for ICE messages许杰友 Jieyou Xu (Joe)-0/+2
2024-03-30Make {integer}::from_str_radix constantGeorge Bateman-0/+41
2024-03-27Use `TraitRef::to_string` sorting in favor of `TraitRef::ord`, as the latter ...Oli Scherer-4/+4
2024-03-17Auto merge of #121885 - reitermarkus:generic-nonzero-inner, r=oli-obk,wesleyw...bors-6/+6
2024-03-14preserve span when evaluating mir::ConstOperandRalf Jung-0/+88
2024-03-14Rollup merge of #122440 - RalfJung:required-consts, r=oli-obkMatthias Krüger-101/+0
2024-03-13const-eval: organize and extend tests for required-constsRalf Jung-101/+0
2024-03-13Added `deny(const_eval_mutable_ptr_in_final_value)` attribute to all tests th...Felix S. Klock II-1/+26
2024-03-10Move generic `NonZero` `rustc_layout_scalar_valid_range_start` attribute to i...Markus Reiter-6/+6
2024-03-08Fix crash in late internal checkingyukang-3/+33
2024-02-29add const test for ptr::metadataRalf Jung-33/+36
2024-02-26Auto merge of #121516 - RalfJung:platform-intrinsics-begone, r=oli-obkbors-2/+2
2024-02-25Use generic `NonZero` in tests.Markus Reiter-135/+135
2024-02-25fix use of platform_intrinsics in testsRalf Jung-2/+2
2024-02-19Always evaluate free constants and statics, even if previous errors occurredOli Scherer-52/+23
2024-02-17Enable `ConstPropLint` for promotedsGurinder Singh-3/+28
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-123/+123
2024-02-16remove stderr-per-bitwidth from some testsRalf Jung-62/+8
2024-02-05revert stabilization of const_intrinsic_copyRalf Jung-1/+1
2024-02-03Rollup merge of #120616 - fmease:fix-ice-const-eval-fail-undef-field-access, ...Matthias Krüger-0/+22
2024-02-03Check for presence of field in typeck results before visiting itLeón Orell Valerian Liehr-0/+22
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