about summary refs log tree commit diff
path: root/tests/ui/borrowck
AgeCommit message (Expand)AuthorLines
2023-12-07recurse into refs when comparing tys for diagnosticsjyn-4/+4
2023-12-04Provide more suggestions for cloning immutable bindingsEsteban Küber-9/+95
2023-12-04Mark more tests as `run-rustfix`Esteban Küber-1/+9
2023-12-04Suggest cloning and point out obligation errors on move errorEsteban Küber-17/+91
2023-12-04Tweak `.clone()` suggestion to work in more casesEsteban Küber-8/+8
2023-11-28Fix a typo in a `format_args!` noteJosh Stone-2/+2
2023-11-24Show number in error message even for one errorNilstrieb-169/+169
2023-11-21Rollup merge of #118035 - ouz-a:november_ice2, r=compiler-errorsNilstrieb-0/+58
2023-11-20Fix early param lifetimes in generic_const_exprsouz-a-0/+58
2023-11-12Note about object lifetime defaults in does not live long enough errorNilstrieb-0/+4
2023-11-02Don't check for alias bounds in liveness when aliases have escaping bound varsMichael Goulet-0/+55
2023-10-29Auto merge of #116733 - compiler-errors:alias-liveness-but-this-time-sound, r...bors-0/+195
2023-10-24Use `PlaceMention` for match scrutinees.Camille GILLOT-353/+138
2023-10-20s/generator/coroutine/Oli Scherer-5/+5
2023-10-17Flesh out tests moreMichael Goulet-7/+128
2023-10-14Consider static speciallyMichael Goulet-0/+28
2023-10-14Consider param-env candidates, tooMichael Goulet-0/+20
2023-10-14Consider alias bounds when considering lliveness for alias types in NLLMichael Goulet-0/+26
2023-10-05Add a note to duplicate diagnosticsAlex Macleod-0/+1
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