summary refs log tree commit diff
path: root/tests/ui/consts/const-eval
AgeCommit message (Expand)AuthorLines
2025-06-22Implement DesugaringKind::FormatLiteralmejrs-1/+1
2025-06-08Auto merge of #142008 - RalfJung:const-eval-error-here, r=oli-obkbors-171/+171
2025-06-07const-eval error: always say in which item the error occurredRalf Jung-171/+171
2025-06-06reword suggestion messageEsteban Küber-1/+1
2025-06-02Clarify why we are talking about a failed const eval at a random placeOli Scherer-167/+167
2025-06-02Use the informative error as the main const eval error messageOli Scherer-1232/+1162
2025-05-29Rollup merge of #141571 - RalfJung:float-tests, r=tgross35Jacob Pratt-46/+0
2025-05-28coretests: add abs() and copysign() tests, and remove now-unnecessary ui testRalf Jung-46/+0
2025-05-28Auto merge of #141668 - tgross35:rollup-03gg6lf, r=tgross35bors-39/+26
2025-05-27Rollup merge of #141551 - compiler-errors:hir-lints, r=BoxyUwUTrevor Gross-39/+26
2025-05-27Auto merge of #129658 - saethlin:spare-a-crumb, r=jhprattbors-10/+2
2025-05-25const-check: stop recommending the use of rustc_allow_const_fn_unstableRalf Jung-6/+1
2025-05-25Make PTR_TO_INTEGER_TRANSMUTE_IN_CONSTS into a HIR lintMichael Goulet-39/+26
2025-05-21Add some track_caller info to precondition panicsBen Kimock-10/+2
2025-05-20make std::intrinsic functions actually be intrinsicsRalf Jung-3/+3
2025-05-02Rollup merge of #140521 - RalfJung:oob-error, r=saethlinMatthias Krüger-8/+8
2025-05-01Clean up "const" situation in format_args!().Mara Bos-4/+4
2025-04-30interpret: better error message for out-of-bounds pointer arithmetic and acce...Ralf Jung-8/+8
2025-04-30Rollup merge of #139624 - m-ou-se:unconst-format-args, r=jhprattMatthias Krüger-1/+14
2025-04-30Add test for format_args!("{}", 0) in const.Mara Bos-1/+14
2025-04-30compiletest: Make diagnostic kind mandatory on line annotationsVadim Petrochenkov-290/+318
2025-04-24Suggest {to,from}_ne_bytes for transmutations between arrays and integers, etcbendn-5/+7
2025-04-08UI tests: add missing diagnostic kinds where possibleVadim Petrochenkov-13/+13
2025-03-25compiletest: Support matching on diagnostics without a spanVadim Petrochenkov-0/+9
2025-03-14Do not suggest using `-Zmacro-backtrace` for builtin macrosEsteban Küber-50/+0
2025-03-11Implement `#[define_opaque]` attribute for functions.Oli Scherer-14/+33
2025-03-01Rollup merge of #136503 - estebank:const-panic, r=RalfJungMatthias Krüger-180/+127
2025-02-28Shorten span of panic failures in const contextEsteban Küber-180/+127
2025-02-27make `simd_insert` and `simd_extract` `const fn`sFolkert de Vries-16/+1
2025-02-27remove most `simd_` intrinsic declaration in testsFolkert de Vries-5/+11
2025-01-30Auto merge of #134824 - niklasf:int_from_ascii, r=ibraheemdevbors-4/+8
2025-01-27Remove all dead files inside tests/ui/León Orell Valerian Liehr-18/+0
2025-01-25Fix typo in const stability error messageDeadbeef-1/+1
2025-01-07Update tests.Mara Bos-1/+1
2025-01-05[generic_assert] Constify methods used by the formatting systemCaio-23/+3
2025-01-01Try to write the panic message with a single `write_all` callJohn Kåre Alsaker-0/+1
2024-12-27Implement `int_from_ascii` (#134821)Niklas Fiekas-4/+8
2024-12-27Remove the `-test` suffix from normalize directivesZalathar-27/+27
2024-12-23Note def descr in NonConstFunctionCallMichael Goulet-7/+7
2024-12-12Filter empty lines, comments and delimiters from previous to last multiline s...Esteban Küber-5/+0
2024-12-12Tweak multispan renderingEsteban Küber-33/+4
2024-12-04fix testEsteban Küber-7/+1
2024-12-04Tweak unevaluated constant in pattern errorEsteban Küber-23/+4
2024-12-04On `const` pattern errors, point at the `const` item definitionEsteban Küber-0/+6
2024-11-23Stabilize `const_float_methods`Eduardo Sánchez Muñoz-1/+0
2024-11-07core: move intrinsics.rs into intrinsics folderRalf Jung-2/+2
2024-11-04remove support for extern-block const intrinsicsRalf Jung-8/+12
2024-10-25Re-do recursive const stability checksRalf Jung-4/+17
2024-10-15Make some float methods unstable `const fn`Eduardo Sánchez Muñoz-0/+47
2024-10-06Auto merge of #130540 - veera-sivarajan:fix-87525, r=estebankbors-0/+123