summary refs log tree commit diff
path: root/tests/ui/borrowck
AgeCommit message (Expand)AuthorLines
2023-09-23Bless tests.Camille GILLOT-76/+1
2023-09-22Auto merge of #115696 - RalfJung:closure-ty-print, r=oli-obkbors-5/+5
2023-09-21adjust how closure/generator types and rvalues are printedRalf Jung-5/+5
2023-09-19rustc_hir_analysis: add a helper to check function the signature mismatchesEduardo Sánchez Muñoz-5/+6
2023-09-14don't point at const usage site for resolution-time errorsRalf Jung-3/+3
2023-09-11Auto merge of #115308 - chenyukang:yukang-fix-62387-iter-mut, r=davidtwcobors-0/+233
2023-09-06Rollup merge of #114511 - chenyukang:yukang-fix-114374-fmt-args, r=b-naberMatthias Krüger-0/+49
2023-09-07suggest iter_mut() where trying to modify elements from .iter()yukang-0/+233
2023-08-23Suggest mutable borrow on read only for-loop that should be mutableEsteban Küber-0/+76
2023-08-23Remove the unhelpful let binding diag comes from FormatArgumentsyukang-0/+49
2023-08-04Improve spans for indexing expressionsNilstrieb-24/+24
2023-07-28Account for macros when suggesting a new let bindingEsteban Küber-1/+5
2023-07-14fix the issue of shorthand in suggest_cloningyukang-3/+4
2023-07-14use maybe_body_owned_by for closureyukang-0/+84
2023-07-10Don't use method span on clone suggestionMichael Goulet-2/+45
2023-07-10Do not set up wrong span for adjustmentsMichael Goulet-198/+161
2023-06-06Rollup merge of #112019 - jieyouxu:issue-111554, r=compiler-errorsMatthias Krüger-0/+57
2023-05-29Don't suggest changing {ImmRef,MutRef} implicit self to be mutable许杰友 Jieyou Xu (Joe)-0/+57
2023-05-28Auto merge of #111813 - scottmcm:pretty-mir, r=cjgillotbors-1/+1
2023-05-25Remove DesugaringKind::Replace.Camille GILLOT-16/+11
2023-05-21Tweak the post-order for multi-successor blocksScott McMurray-1/+1
2023-05-21Rename `drop_ref` lint to `dropping_references`Urgau-1/+1
2023-05-21Rename `drop_copy` lint to `dropping_copy_types`Urgau-2/+2
2023-05-14Erase ReError properlyMichael Goulet-0/+47
2023-05-10Adjust tests for new drop and forget lintsUrgau-0/+4
2023-05-09Rollup merge of #110583 - Ezrashaw:tweak-make-mut-spans, r=estebankDylan DPC-26/+26
2023-05-08Rollup merge of #110827 - compiler-errors:issue-110761-followup, r=cjgillotDylan DPC-0/+54
2023-05-05tweak "make mut" spans (No. 3)Ezra Shaw-19/+19
2023-05-05tweak "make mut" spans when assigning to localsEzra Shaw-7/+7
2023-04-30Leave promoteds untainted by errors when borrowck failsTomasz Miąsko-0/+26
2023-04-25Fix lifetime suggestion for type aliases with objects in themMichael Goulet-0/+54
2023-04-23Auto merge of #108118 - oli-obk:lazy_typeck, r=cjgillotbors-16/+16
2023-04-21Run `check_match` and `check_liveness` when MIR is built instead of having an...Oli Scherer-16/+16
2023-04-21Evaluate place expression in `PlaceMention`.Camille GILLOT-1/+108
2023-04-21Auto merge of #110370 - c410-f3r:dqewdas, r=petrochenkovbors-0/+33
2023-04-20Move test filesCaio-0/+33
2023-04-19 Add suggestion to use a closure arg instead of a capture on bck errorMaybe Waffle-5/+55
2023-04-19Add test for `a.f(|this| a.g())`Maybe Waffle-0/+113
2023-04-17typoskadiwa-1/+1
2023-04-15Add some reasons why tests are ignored.Eric Huss-1/+1
2023-04-06Auto merge of #108504 - cjgillot:thir-pattern, r=compiler-errors,Nilstriebbors-6/+4
2023-04-03Shrink binding span.Camille GILLOT-6/+4
2023-04-03remove invalid ignore-prettyPietro Albini-1/+0
2023-03-16Don't allow new const panic through format flattening.Mara Bos-1/+1
2023-03-09Add ui test.Camille GILLOT-0/+27
2023-03-05Add regression tests for issue 70919Giacomo Pasini-0/+63
2023-03-03Desugars drop and replace at MIR buildGiacomo Pasini-29/+18
2023-02-23diagnostics: remove inconsistent English article "this" from E0107Michael Howell-4/+4
2023-02-22diagnostics: update test cases to refer to assoc fn with `self` as methodMichael Howell-4/+4
2023-02-16Move testsCaio-0/+62