summary refs log tree commit diff
path: root/tests/ui/const-generics
AgeCommit message (Expand)AuthorLines
2025-07-24Reword mismatched-lifetime-syntaxes text based on feedbackJake Goulding-6/+7
2025-06-20Rollup merge of #142485 - mu001999-contrib:dead-code/adt-pattern, r=petrochenkovTrevor Gross-2/+22
2025-06-18Rollup merge of #141610 - BoxyUwU:stabilize_generic_arg_infer, r=lcnr,travisc...Jakub Beránek-139/+37
2025-06-16tests: bless remaining testsDavid Wood-0/+2
2025-06-14Marks ADT live if it appears in patternMu001999-2/+22
2025-06-13Require generic params for const generic paramsOli Scherer-0/+35
2025-06-12Rollup merge of #142157 - Enselic:trivial-anon-const-use-cases, r=compiler-er...Matthias Krüger-34/+77
2025-06-11stabilize gaiBoxy-139/+37
2025-06-07const-eval error: always say in which item the error occurredRalf Jung-8/+8
2025-06-07rustc_resolve: Improve `resolve_const_param_in_non_trivial_anon_const` wordingMartin Nordholts-34/+77
2025-06-06Rollup merge of #142043 - estebank:const-suggestion, r=wesleywiserGuillaume Gomez-9/+21
2025-06-05Auto merge of #138677 - shepmaster:consistent-elided-lifetime-syntax, r=travi...bors-14/+13
2025-06-04Verbose suggestion to make param `const`Esteban Küber-9/+21
2025-06-04Replace `elided_named_lifetimes` with `mismatched_lifetime_syntaxes`Jake Goulding-14/+13
2025-06-02Clarify why we are talking about a failed const eval at a random placeOli Scherer-11/+11
2025-06-02Use the informative error as the main const eval error messageOli Scherer-48/+46
2025-05-23Do not try to confirm non-dyn compatible methodMichael Goulet-40/+3
2025-05-23Auto merge of #140553 - BoxyUwU:defer_type_system_ctfe, r=compiler-errorsbors-53/+364
2025-05-22Review CommentsBoxy-0/+2
2025-05-22Return correct error term kind on projection errorsBoxy-0/+56
2025-05-21Fix testsBoxy-53/+362
2025-05-05Do not gather local all together at the beginning of typeckMichael Goulet-74/+74
2025-05-01Set groundwork for proper const normalizationBoxy-10/+5
2025-04-30Rollup merge of #140467 - BoxyUwU:no_fcw_assoc_consts, r=lcnrMatthias Krüger-0/+23
2025-04-30compiletest: Make diagnostic kind mandatory on line annotationsVadim Petrochenkov-33/+39
2025-04-29Don't FCW assoc consts in patternsBoxy-0/+23
2025-04-24check types of const param defaultlcnr-0/+38
2025-04-16Explicitly annotate edition for `unpretty=expanded` and `unpretty=hir` testsLukas Wirth-0/+2
2025-04-13Rollup merge of #139607 - reddevilmidzy:add-regression-test, r=petrochenkovChris Denton-0/+39
2025-04-12Add regression test for #127424reddevilmidzy-0/+39
2025-04-10Allow parenthesis around inferred array lengthsBoxy-1/+72
2025-04-09Auto merge of #139555 - petrochenkov:errkind-ann, r=jieyouxubors-15/+15
2025-04-08UI tests: add missing diagnostic kinds where possibleVadim Petrochenkov-15/+15
2025-04-07compiletest: Stricter parsing for diagnostic kindsVadim Petrochenkov-23/+23
2025-04-03Pass correct param-env to error_impliesMichael Goulet-0/+64
2025-03-15Rollup merge of #138283 - compiler-errors:enforce-const-param, r=BoxyUwUMatthias Krüger-0/+69
2025-03-14Do not suggest using `-Zmacro-backtrace` for builtin macrosEsteban Küber-25/+0
2025-03-14Check type of const param correctly in MIR typeckMichael Goulet-0/+69
2025-03-12Disentangle ForwardGenericParamBan and ConstParamTy ribsMichael Goulet-45/+55
2025-03-11Auto merge of #138366 - matthiaskrgr:rollup-cn16m7q, r=matthiaskrgrbors-0/+80
2025-03-11Rollup merge of #138284 - compiler-errors:const-param-ty-annotation, r=BoxyUwUMatthias Krüger-0/+21
2025-03-11Implement `#[define_opaque]` attribute for functions.Oli Scherer-123/+23
2025-03-09Do not feed anon const a type that references generics that it does not haveMichael Goulet-0/+59
2025-03-09Do not write user type annotation for const param value pathMichael Goulet-0/+21
2025-03-05Rollup merge of #137298 - compiler-errors:mir-wf, r=lcnr许杰友 Jieyou Xu (Joe)-6/+6
2025-03-04mgca: Lower all const paths as `ConstArgKind::Path`Noah Lev-0/+155
2025-03-03Don't typeck during WF, instead check outside of WF in check_crateMichael Goulet-6/+6
2025-03-01Rollup merge of #137617 - BoxyUwU:generic_const_parameter_types, r=lcnrMatthias Krüger-44/+215
2025-03-01Rollup merge of #136503 - estebank:const-panic, r=RalfJungMatthias Krüger-12/+6
2025-02-28Introduce `feature(generic_const_parameter_types)`Boxy-44/+215