about summary refs log tree commit diff
path: root/tests/ui/closures
AgeCommit message (Expand)AuthorLines
2023-08-28Revert "Suggest using `Arc` on `!Send`/`!Sync` types"David Tolnay-3/+0
2023-08-28Add note when matching on nested non-exhaustive enumsSebastian Toh-1/+2
2023-08-09Suggest using `Arc` on `!Send`/`!Sync` typesEsteban Kuber-0/+3
2023-07-22Rollup merge of #112508 - compiler-errors:trait-sig-lifetime-sugg-ice, r=cjgi...Matthias Krüger-1/+1
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-5/+5
2023-06-28don't suggest `move` for borrows that aren't closuresLukas Markeffsky-0/+27
2023-06-28reword message to be less vagueMichael Goulet-1/+1
2023-06-23Rollup merge of #111087 - ibraheemdev:patch-15, r=dtolnayMichael Goulet-25/+1
2023-06-23Rollup merge of #112643 - compiler-errors:sized-obl-for-arg, r=wesleywiserMatthias Krüger-0/+54
2023-06-20update failing ui testsIbraheem Ahmed-25/+1
2023-06-18Auto merge of #112636 - clubby789:no-capture-array-ref, r=cjgillotbors-18/+65
2023-06-15Don't capture &[T; N] when contents isn't readclubby789-18/+65
2023-06-15Always register sized obligation for argumentMichael Goulet-0/+54
2023-06-14s/drain_filter/extract_if/ for Vec, Btree{Map,Set} and LinkedListThe 8472-3/+3
2023-06-12Adjust UI tests for `unit_bindings`许杰友 Jieyou Xu (Joe)-1/+1
2023-06-09Ignore tests that hang in new solverMichael Goulet-0/+1
2023-06-05diagnostics: do not suggest type name tweaks on type-inferred closure argsMichael Howell-0/+35
2023-05-29add testslcnr-0/+78
2023-05-25Rollup merge of #111831 - clubby789:capture-slice-pat, r=cjgillotMichael Goulet-85/+196
2023-05-25Always capture slice when pattern requires checking the lengthclubby789-85/+196
2023-05-21Rename `drop_ref` lint to `dropping_references`Urgau-3/+3
2023-05-21Rename `drop_copy` lint to `dropping_copy_types`Urgau-1/+1
2023-05-12Auto merge of #109732 - Urgau:uplift_drop_forget_ref_lints, r=davidtwcobors-1/+5
2023-05-11Rollup merge of #108705 - clubby789:refutable-let-closure-borrow, r=cjgillotMatthias Krüger-0/+136
2023-05-10Adjust tests for new drop and forget lintsUrgau-1/+5
2023-05-09Rollup merge of #111021 - c410-f3r:dqewdas, r=petrochenkovMatthias Krüger-0/+18
2023-05-08Move testsCaio-0/+18
2023-05-05tweak "make mut" spans when assigning to localsEzra Shaw-1/+1
2023-04-30Test precise capture with a multi-variant enum and exhaustive patternsTomasz Miąsko-0/+21
2023-04-30Bail out of MIR construction if `check_match` failsclubby789-0/+136
2023-04-28improve error notes for packed struct reference diagnosticbindsdev-1/+2
2023-04-25vars are ?Michael Goulet-9/+9
2023-04-25Rollup merge of #110480 - whtahy:105107/known-bug-tests-for-unsound-issues, r...Yuki Okushi-0/+15
2023-04-22add known-bug test for unsound issue 84366whtahy-0/+15
2023-04-21Run `check_match` and `check_liveness` when MIR is built instead of having an...Oli Scherer-14/+14
2023-04-11Broken testsMichael Goulet-0/+14
2023-03-27Fix subslice capture in closureclubby789-0/+39
2023-03-21Return equal for two identical projectionsyukang-0/+41
2023-02-28Remove the `capture_disjoint_fields` featureclubby789-4/+1
2023-02-18Add addl testMichael Goulet-0/+24
2023-02-18Move late-bound arg type checks to resolve_bound_varsMichael Goulet-0/+48
2023-02-18Adjust tracking issue for non_lifetime_bindersMichael Goulet-2/+2
2023-02-17Rollup merge of #107489 - compiler-errors:non_lifetime_binders, r=cjgillotMatthias Krüger-2/+10
2023-02-16Add feature gate for non_lifetime_bindersMichael Goulet-2/+10
2023-02-15Fix unintentional UB in ui testsBen Kimock-9/+9
2023-01-31make unaligned_reference a hard errorRalf Jung-19/+2
2023-01-30Modify primary span label for E0308Esteban Küber-1/+1
2023-01-25Rollup merge of #106897 - estebank:issue-99430, r=davidtwcoMatthias Krüger-15/+15
2023-01-19Tweak "borrow closure argument" suggestionEsteban Küber-4/+6
2023-01-15Tweak E0597Esteban Küber-15/+15