about summary refs log tree commit diff
path: root/tests/ui/consts
AgeCommit message (Expand)AuthorLines
2025-01-07Update tests.Mara Bos-1/+1
2025-01-06add test from #125718Martin Zacho-0/+18
2025-01-05[generic_assert] Constify methods used by the formatting systemCaio-23/+3
2025-01-04Auto merge of #135031 - RalfJung:intrinsics-without-body, r=oli-obkbors-15/+8
2025-01-04rustc_intrinsic: support functions without body; they are implicitly marked a...Ralf Jung-15/+8
2025-01-03Rollup merge of #135044 - compiler-errors:better-infer-suggestions-in-const, ...Matthias Krüger-7/+24
2025-01-02Make suggestion verbose and tweak error messageMichael Goulet-4/+6
2025-01-02More refined spans for placeholder error in const/staticMichael Goulet-4/+4
2025-01-02Remove diagnostic_only_typeck and fix placeholder suggestion for const/staticMichael Goulet-2/+17
2025-01-01Try to write the panic message with a single `write_all` callJohn Kåre Alsaker-0/+1
2024-12-30Auto merge of #134757 - RalfJung:const_swap, r=scottmcmbors-14/+11
2024-12-27Implement `int_from_ascii` (#134821)Niklas Fiekas-4/+8
2024-12-27Rollup merge of #134798 - compiler-errors:err-auto, r=jackh726Matthias Krüger-0/+28
2024-12-27Remove the `-test` suffix from normalize directivesZalathar-60/+60
2024-12-27Simplify or delete normalize directives that don't care about bit-widthZalathar-4/+3
2024-12-26Make ty::Error implement auto traitsMichael Goulet-0/+28
2024-12-25stabilize const_swapRalf Jung-14/+11
2024-12-24Rollup merge of #134701 - compiler-errors:non-const-def-descr, r=Urgau,fmeaseStuart Cook-29/+29
2024-12-23Note def descr in NonConstFunctionCallMichael Goulet-29/+29
2024-12-23core: fix const ptr::swap_nonoverlapping when there are pointers at odd offse...Ralf Jung-0/+3
2024-12-14Auto merge of #133734 - scottmcm:lower-indexing-to-ptrmetadata, r=davidtwco,R...bors-1/+3
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-10Rollup merge of #134094 - estebank:const-trait-errors, r=compiler-errorsLeón Orell Valerian Liehr-20/+60
2024-12-10Rollup merge of #134010 - RalfJung:promoted-type-error-ice, r=oli-obkLeón Orell Valerian Liehr-96/+23
2024-12-10Tweak wording of non-const traits used as const boundsEsteban Küber-20/+60
2024-12-09fix ICE on type error in promotedRalf Jung-96/+23
2024-12-07Mention type parameter in more cases and don't suggest ~const bound already t...Esteban Küber-16/+0
2024-12-07Use trait name instead of full constraint in suggestion messageEsteban Küber-1/+1
2024-12-07reword trait bound suggestion message to include the boundsEsteban Küber-5/+5
2024-12-05Rollup merge of #133233 - estebank:const-errors, r=NadrierilLeón Orell Valerian Liehr-267/+361
2024-12-05Rollup merge of #118833 - Urgau:lint_function_pointer_comparisons, r=cjgillotLeón Orell Valerian Liehr-0/+2
2024-12-04review comments: reword messages and simplify logicEsteban Küber-9/+9
2024-12-04fix testEsteban Küber-7/+1
2024-12-04Add more context to fall-through "const pattern of non-structural type" errorEsteban Küber-2/+6
2024-12-04Add context to fall-through "const pattern of non-structural type" errorEsteban Küber-0/+6
2024-12-04Add additional context for non-sructural type constant used in patternEsteban Küber-107/+183
2024-12-04Reword message for non-structural type constant in patternEsteban Küber-4/+4
2024-12-04Tweak output of some const pattern errorsEsteban Küber-2/+2
2024-12-04Point at generic param through which a const is used in a patternEsteban Küber-6/+12
2024-12-04Tweak ptr in pattern errorEsteban Küber-12/+24
2024-12-04Tweak unevaluated constant in pattern errorEsteban Küber-150/+23
2024-12-04On `const` pattern errors, point at the `const` item definitionEsteban Küber-10/+133
2024-12-03Bounds-check with PtrMetadata instead of Len in MIRScott McMurray-1/+3
2024-12-03Rollup merge of #133762 - RalfJung:const-size-of-val, r=workingjubileeMatthias Krüger-5/+3
2024-12-03Auto merge of #133788 - matthiaskrgr:rollup-1p100a8, r=matthiaskrgrbors-0/+21
2024-12-03Rollup merge of #133785 - HypheX:add-ui-test, r=compiler-errorsMatthias Krüger-0/+21
2024-12-03Auto merge of #133321 - compiler-errors:const-checker, r=wesleywiserbors-156/+54
2024-12-02Add ui test for const evaluation fail when type is too big.Xelph-0/+21
2024-12-02Rollup merge of #133704 - RalfJung:promoted-size-overflow-ice, r=compiler-errorsGuillaume Gomez-23/+115