about summary refs log tree commit diff
path: root/tests/ui/borrowck
AgeCommit message (Expand)AuthorLines
2024-05-29Stop proving outlives constraints on regions we already reported errors onOli Scherer-9/+2
2024-02-20Stabilize `LazyCell` and `LazyLock` (`lazy_cell`)Peter Jaszkowiak-1/+1
2024-05-09Fix test problems discovered by the revision checkZalathar-23/+22
2024-04-25Auto merge of #119650 - chenyukang:yukang-fix-118596-ref-mut, r=wesleywiserbors-20/+98
2024-04-24Suggest cloning captured binding in `move` closureEsteban Küber-0/+6
2024-04-24Mention when type parameter could be `Clone`Esteban Küber-16/+73
2024-04-25Suggest ref mut for pattern matching assignmentyukang-20/+98
2024-04-21add test for ice #121463Matthias Krüger-0/+33
2024-04-15Use /* value */ as a placeholderMichael Goulet-8/+8
2024-04-13Auto merge of #122603 - estebank:clone-o-rama, r=lcnrbors-41/+552
2024-04-12review commentsEsteban Küber-11/+11
2024-04-12Better account for more cases involving closuresEsteban Küber-0/+25
2024-04-11Rollup merge of #123523 - estebank:issue-123414, r=BoxyUwUMatthias Krüger-0/+90
2024-04-11Mention when the type of the moved value doesn't implement `Clone`Esteban Küber-0/+82
2024-04-11Account for move error in the spread operator on struct literalsEsteban Küber-25/+233
2024-04-11Better account for `FnOnce` in move errorsEsteban Küber-7/+5
2024-04-11Do not recomment cloning explicit `&mut` expressionsEsteban Küber-12/+0
2024-04-11Fix accuracy of `T: Clone` check in suggestionEsteban Küber-18/+19
2024-04-11More move error suggestions to cloneEsteban Küber-5/+43
2024-04-11Suggest `.clone()` in some move errorsEsteban Küber-3/+66
2024-04-11Account for unops when suggesting cloningEsteban Küber-38/+56
2024-04-11Suggest `.clone()` when moved while borrowedEsteban Küber-2/+90
2024-04-11Minor test fmtEsteban Küber-3/+5
2024-04-11Rollup merge of #123704 - estebank:diag-changes, r=compiler-errorsMatthias Krüger-78/+117
2024-04-10Handle more cases of "values to suggest" given a typeEsteban Küber-4/+4
2024-04-10Handle more cases of value suggestionsEsteban Küber-76/+115
2024-04-10Auto merge of #121346 - m-ou-se:temp-lifetime-if-else-match, r=compiler-errorsbors-115/+73
2024-04-09Tweak value suggestions in `borrowck` and `hir_analysis`Esteban Küber-26/+26
2024-04-06Account for trait/impl difference when suggesting changing argument from ref ...Esteban Küber-0/+90
2024-03-26Rollup merge of #122589 - wutchzone:121547, r=compiler-errorsMatthias Krüger-0/+33
2024-03-23Fix diagnostics for async block cloningDaniel Sedlak-0/+33
2024-03-23add test for #104779 opaque types, patterns and subtyping ICE: IndexMap: key...Matthias Krüger-0/+68
2024-03-21add test for #121807Matthias Krüger-0/+80
2024-03-20Bless test fallout (duplicate diagnostics)Michael Goulet-4/+38
2024-03-18When displaying multispans, ignore empty lines adjacent to `...`Esteban Küber-2/+1
2024-03-17Detect when move of `!Copy` value occurs within `loop` and should likely not ...Esteban Küber-38/+8
2024-03-15Rollup merge of #122254 - estebank:issue-48677, r=oli-obkMatthias Krüger-0/+127
2024-03-13Detect calls to `.clone()` on `T: !Clone` types on borrowck errorsEsteban Küber-0/+127
2024-03-11Revert "Auto merge of #122140 - oli-obk:track_errors13, r=davidtwco"Oli Scherer-23/+23
2024-03-11Run a single huge `par_body_owners` instead of many small ones after each other.Oli Scherer-23/+23
2024-03-10Fix invalid compiletest directives in tests许杰友 Jieyou Xu (Joe)-1/+1
2024-03-01Rollup merge of #120646 - clubby789:uninit-destructuring-sugg, r=michaelwoeri...Matthias Krüger-1/+49
2024-02-20Update test.Mara Bos-115/+73
2024-02-18Improve wording of static_mut_refObei Sideg-40/+40
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-151/+151
2024-02-16Rollup merge of #121020 - oli-obk:diagnostics_ice, r=davidtwcoGuillaume Gomez-0/+34
2024-02-14Fix two UI tests with incorrect directive / invalid revision许杰友 Jieyou Xu (Joe)-1/+19
2024-02-13Avoid an ICE in diagnosticsOli Scherer-0/+34
2024-02-06Fix incorrect suggestion for uninitialize binding in destructuring patternclubby789-1/+49
2024-01-16borrowck: wf-check fn item argsAli MJ Al-Nasrawy-0/+127