about summary refs log tree commit diff
path: root/tests/ui/consts/const-eval
AgeCommit message (Expand)AuthorLines
2025-09-24const validation: better error for maybe-null referencesRalf Jung-19/+51
2025-09-24const-eval: improve and actually test the errors when pointers might be outsi...Ralf Jung-7/+42
2025-09-08const-eval: disable pointer fragment supportRalf Jung-0/+54
2025-09-03don't uppercase error messagesSasha Pourcelot-167/+167
2025-08-19bless tests with new lint messagesKarol Zwolak-1/+1
2025-08-17Auto merge of #144081 - RalfJung:const-ptr-fragments, r=oli-obkbors-27/+189
2025-08-14Rollup merge of #144631 - fneddy:fix_be_test_intrinsic_const_bad, r=compiler-...Jakub Beránek-4/+5
2025-08-06Add support for shortening `Instance` and use itEsteban Küber-1/+1
2025-07-30Fix tests for big-endianEduard Stefes-4/+5
2025-07-30const-eval: full support for pointer fragmentsRalf Jung-27/+189
2025-07-26Rollup merge of #144356 - GuillaumeGomez:gcc-ignore-tests, r=jieyouxuTrevor Gross-2/+4
2025-07-24Rollup merge of #144014 - dianne:edition-guide-links, r=estebankLeón Orell Valerian Liehr-1/+1
2025-07-23Add `ignore-backends` annotations in failing GCC backend ui testsGuillaume Gomez-2/+4
2025-07-18Rollup merge of #142673 - oli-obk:uninit-read-mem, r=RalfJungMatthias Krüger-86/+150
2025-07-18Rollup merge of #143925 - oli-obk:slice-const-partialeq, r=fee1-deadMatthias Krüger-4/+5
2025-07-18Show the memory of uninit readsOli Scherer-78/+142
2025-07-17Report the range of uninit bytes in CTFE errorsOli Scherer-15/+15
2025-07-17Make `derive_const` usable within libcore againOli Scherer-4/+5
2025-07-17Rollup merge of #143595 - fee1-dead-contrib:push-sylpykzkmynr, r=RalfJung,fee...León Orell Valerian Liehr-26/+201
2025-07-16const heap: fix ICE on forgotten make_globalRalf Jung-12/+5
2025-07-16future-incompat lints: don't link to the nightly edition-guide versiondianne-1/+1
2025-07-16Comment more code and make tests clearerDeadbeef-11/+24
2025-07-16add `const_make_global`; err for `const_allocate` ptrs if didn't callDeadbeef-8/+177
2025-07-15constify some methods using `SliceIndex`Oli Scherer-7/+8
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