summary refs log tree commit diff
path: root/tests/ui/lifetimes
AgeCommit message (Expand)AuthorLines
2024-11-21Enforce that raw lifetime identifiers must be valid raw identifiersMichael Goulet-0/+52
2024-11-14Reject raw lifetime followed by \' as wellMichael Goulet-0/+27
2024-09-29fix(hir_analysis/wfcheck): don't leak {type error}Barrett Ray-32/+2
2024-09-24be even more precise about "cast" vs "coercion"Lukas Markeffsky-2/+2
2024-09-24replace "cast" with "coercion" where applicableLukas Markeffsky-2/+2
2024-09-12Re-enable `ConstArgKind::Path` lowering by defaultNoah Lev-10/+1
2024-09-06Add some more testsMichael Goulet-0/+105
2024-08-31elided_named_lifetimes: bless & add testsPavel Grigorenko-4/+26
2024-08-24Rollup merge of #129246 - BoxyUwU:feature_gate_const_arg_path, r=cjgillotMatthias Krüger-4/+13
2024-08-19Retroactively feature gate `ConstArgKind::Path`Boxy-4/+13
2024-08-17Bless test falloutMichael Goulet-52/+23
2024-08-05Rollup merge of #127655 - RalfJung:invalid_type_param_default, r=compiler-errorsMatthias Krüger-0/+11
2024-07-30Remove crate_level_only from ELIDED_LIFETIMES_IN_PATHSMichael Goulet-0/+31
2024-07-22Revert suggestion verbosity changeEsteban Küber-6/+3
2024-07-22On generic and lifetime removal suggestion, do not leave behind stray `,`Esteban Küber-1/+1
2024-07-22Change suggestion message wordingEsteban Küber-1/+1
2024-07-22Use verbose suggestion for "wrong # of generics"Esteban Küber-3/+6
2024-07-21Auto merge of #127722 - BoxyUwU:new_adt_const_params_limitations, r=compiler-...bors-0/+4
2024-07-19Auto merge of #125915 - camelid:const-arg-refactor, r=BoxyUwUbors-10/+1
2024-07-18Rollup merge of #127878 - estebank:assoc-item-removal, r=fmeaseMatthias Krüger-2/+3
2024-07-17Fix associated item removal suggestionEsteban Küber-2/+3
2024-07-17Split part of `adt_const_params` into `unsized_const_params`Boxy-0/+4
2024-07-16Add `ConstArgKind::Path` and make `ConstArg` its own HIR nodeNoah Lev-10/+1
2024-07-15make invalid_type_param_default lint show up in cargo future-compat reportsRalf Jung-0/+11
2024-07-14Use ordinal number in argument errorlong-long-float-1/+1
2024-07-04Better span for "make binding mutable" suggestionEsteban Küber-14/+25
2024-06-21Fix remaining casesMichael Goulet-1/+1
2024-06-20add `needs-unwind` to UI testJorge Aparicio-0/+1
2024-06-18tail expression behind terminating scopeDing Xiang Fei-0/+136
2024-06-05Rollup merge of #125407 - pacak:no-lending-iterators, r=pnkfelixMatthias Krüger-0/+65
2024-06-04Rollup merge of #125667 - oli-obk:taintify, r=TaKO8KiMichael Goulet-38/+27
2024-06-03Add regression testOli Scherer-0/+50
2024-06-03Auto merge of #125778 - estebank:issue-67100, r=compiler-errorsbors-6/+6
2024-05-30Rename HIR `TypeBinding` to `AssocItemConstraint` and related cleanupLeón Orell Valerian Liehr-7/+7
2024-05-29Use parenthetical notation for `Fn` traitsEsteban Küber-6/+6
2024-05-29Stop proving outlives constraints on regions we already reported errors onOli Scherer-18/+4
2024-05-28Allow type_of to return partially non-error types if the type was already tai...Oli Scherer-20/+23
2024-05-24And more general errorMichael Baikov-3/+42
2024-05-24A custom error message for lending iteratorsMichael Baikov-0/+26
2024-05-17Detect when a lifetime is being reused in suggestionEsteban Küber-6/+6
2024-05-17Tweak suggested lifetimes to modify return type instead of `&self` receiverEsteban Küber-10/+10
2024-05-17Run `rustfmt` on modified testsEsteban Küber-45/+38
2024-05-17Account for owning item lifetimes in suggestion and annotate tests as `run-ru...Esteban Küber-5/+40
2024-05-17Always constrain the return type in lifetime suggestionEsteban Küber-8/+8
2024-05-17Suggest setting lifetime in borrowck error involving types with elided lifetimesEsteban Küber-0/+55
2024-04-24Fix tests and blessGary Guo-10/+8
2024-04-23Rollup merge of #122591 - gurry:122162-impl-type-binding-suggestion, r=fmeaseLeón Orell Valerian Liehr-0/+5
2024-04-16Emit suggestions when equality constraints are wrongly usedGurinder Singh-0/+5
2024-04-10Auto merge of #121346 - m-ou-se:temp-lifetime-if-else-match, r=compiler-errorsbors-0/+33
2024-04-01Fix obligation param and bless testsMichael Goulet-3/+3