about summary refs log tree commit diff
path: root/tests/ui/consts
AgeCommit message (Expand)AuthorLines
2025-06-29Fix the span of trait bound modifier `[const]`León Orell Valerian Liehr-34/+34
2025-06-27Rollup merge of #143092 - RalfJung:const-check-lifetime-ext, r=oli-obkMatthias Krüger-58/+132
2025-06-27Rollup merge of #143046 - RalfJung:zst-unsafe-cell, r=lcnr,oli-obkMatthias Krüger-0/+15
2025-06-27Rollup merge of #142806 - compiler-errors:norm-ct-has-ty, r=lcnr,BoxyUwUMatthias Krüger-0/+28
2025-06-27Rollup merge of #139858 - oli-obk:new-const-traits-syntax, r=fee1-deadMatthias Krüger-110/+110
2025-06-27const checks: avoid 'top-level scope' terminologyRalf Jung-58/+132
2025-06-27const-eval: error when initializing a static writes to that staticRalf Jung-15/+61
2025-06-26clarify and unify 'transient mutable borrow' errorsRalf Jung-49/+49
2025-06-26add more sensible mut-ref-to-immutable testRalf Jung-8/+21
2025-06-26const-eval: allow constants to refer to mutable/external memory, but reject s...Ralf Jung-121/+117
2025-06-26Change const trait bound syntax from ~const to [const]Oli Scherer-110/+110
2025-06-26const validation: properly ignore zero-sized UnsafeCellRalf Jung-0/+15
2025-06-25Normalize before computing ConstArgHasType goalMichael Goulet-0/+28
2025-06-23Make `PartialEq` a `const_trait`Oli Scherer-56/+74
2025-06-22Implement DesugaringKind::FormatLiteralmejrs-1/+1
2025-06-18Bless/update tests.Mara Bos-3/+5
2025-06-18Remove 'this error originates in format_args_nl' from test output.Mara Bos-2/+1
2025-06-16tests: `PointeeSized` bounds with extern typesDavid Wood-9/+23
2025-06-14Rollup merge of #140593 - m-ou-se:some-temp, r=NadrierilMatthias Krüger-77/+39
2025-06-13Auto merge of #142442 - matthiaskrgr:rollup-6yodjfx, r=matthiaskrgrbors-16/+16
2025-06-13Update tests.Mara Bos-77/+39
2025-06-12Rollup merge of #141162 - mejrs:gated, r=fee1-deadMatthias Krüger-3/+6
2025-06-12intrinsics: rename min_align_of to align_ofRalf Jung-16/+16
2025-06-09refactor `AttributeGate` and `rustc_attr!` to emit notes during feature chec...mejrs-3/+6
2025-06-08Auto merge of #142008 - RalfJung:const-eval-error-here, r=oli-obkbors-858/+858
2025-06-07const-eval error: always say in which item the error occurredRalf Jung-858/+858
2025-06-07Rollup merge of #142131 - estebank:cast-sugg, r=UrgauJacob Pratt-1/+1
2025-06-07Rollup merge of #142045 - estebank:obligation-cause-code-suggestion, r=compil...Jacob Pratt-19/+22
2025-06-06reword suggestion messageEsteban Küber-1/+1
2025-06-06Make obligation cause code suggestions verboseEsteban Küber-19/+22
2025-06-05Rollup merge of #142015 - oli-obk:wrong-instance, r=RalfJungMatthias Krüger-2/+3
2025-06-04Report the actual item that evaluation failed forOli Scherer-2/+3
2025-06-04Rollup merge of #141888 - ferrocene:lw/decouple-tests-from-2015, r=compiler-e...Matthias Krüger-6/+6
2025-06-03Use non-2015 edition paths in tests that do not test for their resolutionLukas Wirth-6/+6
2025-06-02Clarify why we are talking about a failed const eval at a random placeOli Scherer-881/+881
2025-06-02Use the informative error as the main const eval error messageOli Scherer-3871/+3731
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-62/+9
2025-05-25const-check: stop recommending the use of rustc_allow_const_fn_unstableRalf Jung-120/+20
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-62/+9
2025-05-20make std::intrinsic functions actually be intrinsicsRalf Jung-26/+12
2025-05-17Rollup merge of #135808 - tiif:conv_display, r=workingjubileeMatthias Krüger-2/+2
2025-05-10Auto merge of #140895 - matthiaskrgr:rollup-rfvqv4t, r=matthiaskrgrbors-11/+11
2025-05-10Rollup merge of #140151 - RalfJung:drop_in_place-is-not-an-intrinsic, r=Mark-...Matthias Krüger-11/+11
2025-05-09Merge typeck loop with static/const item eval loopOli Scherer-12/+12
2025-05-04Rollup merge of #137280 - RalfJung:const_swap_nonoverlapping, r=lcnrTrevor Gross-8/+6