summary refs log tree commit diff
path: root/tests/ui/borrowck
AgeCommit message (Expand)AuthorLines
2024-08-22Do not rely on names to find lifetimes.Camille GILLOT-5/+4
2024-08-20Auto merge of #127672 - compiler-errors:precise-capturing, r=spastorinobors-0/+5
2024-08-18stabilize raw_ref_opRalf Jung-20/+10
2024-08-17Bless test falloutMichael Goulet-0/+5
2024-07-26Peel off explicit (or implicit) deref before suggesting clone on move error i...Michael Goulet-53/+39
2024-07-25Rollup merge of #128172 - compiler-errors:non-self-arg, r=chenyukangMatthias Krüger-0/+55
2024-07-24Don't ICE if HIR and middle types disagree in borrowck error reportingMichael Goulet-0/+55
2024-07-22Revert suggestion verbosity changeEsteban Küber-12/+6
2024-07-22Change suggestion message wordingEsteban Küber-2/+2
2024-07-22Use verbose suggestion for "wrong # of generics"Esteban Küber-6/+12
2024-07-20Rollup merge of #127948 - surechen:fix_127915, r=compiler-errorsMatthias Krüger-0/+40
2024-07-19fixes panic errorsurechen-0/+40
2024-07-18Use more accurate span for `addr_of!` suggestionEsteban Küber-6/+6
2024-07-17If the moved value is a mut reference, it is used in a generic function and i...surechen-12/+55
2024-07-16Suggest a borrow when using dbgyukang-0/+185
2024-07-04Rollup merge of #127301 - estebank:fix-suggestions, r=UrgauMatthias Krüger-86/+136
2024-07-04More accurate mutability suggestionEsteban Küber-49/+85
2024-07-04Fix `&mut` removal suggestionEsteban Küber-4/+7
2024-07-04Better span for "make binding mutable" suggestionEsteban Küber-33/+44
2024-07-03Rollup merge of #127092 - compiler-errors:rtn-dots-redux, r=estebankMatthias Krüger-2/+2
2024-06-29fix: prefer `(*p).clone` to `p.clone` if the `p` is a raw pointerLin Yihai-24/+6
2024-06-28Change RTN to use .. againMichael Goulet-2/+2
2024-06-27Tighten spans for async blocksMichael Goulet-10/+8
2024-06-17Convert a `span_bug` to a `span_delayed_bug`.Nicholas Nethercote-0/+48
2024-06-12No uninitalized report in a pre-returned match armLin Yihai-0/+37
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