summary refs log tree commit diff
path: root/tests/ui/lifetimes
AgeCommit message (Expand)AuthorLines
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
2024-03-20make `type_flags(ReError) & HAS_ERROR`Ali MJ Al-Nasrawy-58/+9
2024-03-18Provide structured suggestion for `#![feature(foo)]`Esteban Küber-1/+4
2024-03-15Auto merge of #122341 - compiler-errors:alias-wfness, r=lcnrbors-4/+20
2024-03-14eagerly instantiate binders to avoid relying on `sub`lcnr-128/+43
2024-03-14Consolidate WF for aliasesMichael Goulet-4/+20
2024-03-11Revert "Auto merge of #122140 - oli-obk:track_errors13, r=davidtwco"Oli Scherer-16/+16
2024-03-11Run a single huge `par_body_owners` instead of many small ones after each other.Oli Scherer-16/+16
2024-03-07Merge collect_mod_item_types query into check_well_formedOli Scherer-22/+22
2024-02-27when defining opaques, require the hidden type to be well-formedlcnr-2/+18
2024-02-26Revert some `span_bug`s to `span_delayed_bug`.Nicholas Nethercote-0/+41
2024-02-21Add clarifying comment to test.Mara Bos-0/+1
2024-02-20Extend temporary lifetime extension test.Mara Bos-1/+4
2024-02-20Add test.Mara Bos-0/+29
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-52/+52
2024-02-14Auto merge of #120847 - oli-obk:track_errors9, r=compiler-errorsbors-1/+10
2024-02-14Continue compilation after check_mod_type_wf errorsOli Scherer-1/+10
2024-02-13Move testsCaio-0/+43
2024-02-08Continue to borrowck even if there were previous errorsOli Scherer-3/+37
2024-02-01Improve the diagnostics for unused generic parametersLeón Orell Valerian Liehr-4/+4
2024-01-16borrowck: wf-check fn item argsAli MJ Al-Nasrawy-1/+33
2024-01-11Taint more aggressively in astconvOli Scherer-11/+1
2024-01-09Avoid silencing relevant follow-up errorsOli Scherer-20/+62
2024-01-05Stabilize THIR unsafeckMatthew Jasper-23/+7
2023-12-12Rollup merge of #117914 - estebank:issue-85843, r=wesleywiserMatthias Krüger-5/+40
2023-12-07recurse into refs when comparing tys for diagnosticsjyn-4/+4
2023-12-05Add print_trait_sugaredMichael Goulet-14/+14
2023-11-30generic_const_exprs: suggest to add the feature, not use itRalf Jung-1/+1
2023-11-24Show number in error message even for one errorNilstrieb-47/+47
2023-11-20Fix incorrect lifetime suggestionEsteban Küber-19/+2