summary refs log tree commit diff
path: root/tests/ui/closures
AgeCommit message (Expand)AuthorLines
2023-09-24Added additional visit steps to visit_generic_param() in order to avoid ICE o...Lenko Donchev-0/+38
2023-09-23Check that closure's by-value captures are sizedMichael Goulet-0/+34
2023-09-22Rollup merge of #115999 - matthewjasper:closure-capture-let-guards, r=b-naberMatthias Krüger-0/+158
2023-09-22Capture scrutinee of if let guards correctlyMatthew Jasper-0/+158
2023-09-21adjust how closure/generator types and rvalues are printedRalf Jung-23/+23
2023-09-16Auto merge of #115315 - RalfJung:field-capture-packed-alignment, r=oli-obkbors-17/+12
2023-09-03Auto merge of #115270 - sebastiantoh:issue-105479, r=Nadrierilbors-1/+2
2023-09-03Improve clarity of diagnostic message on non-exhaustive matchesSebastian Toh-1/+1
2023-08-29Auto merge of #112775 - c410-f3r:t3st3ss, r=petrochenkovbors-0/+51
2023-08-28Move testsCaio-0/+51
2023-08-28closure field capturing: don't depend on alignment of packed fieldsRalf Jung-17/+12
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