about summary refs log tree commit diff
path: root/tests/ui/closures
AgeCommit message (Expand)AuthorLines
2023-12-21Simple modification of diagnostic informationsurechen-0/+28
2023-12-18Auto merge of #118584 - gurry:118144-projection-kind-mismatched, r=WaffleLapkinbors-0/+27
2023-12-18Fix ICE `ProjectionKinds Deref and Field were mismatched`Gurinder Singh-0/+27
2023-12-14update use of feature flagslcnr-1/+1
2023-12-07recurse into refs when comparing tys for diagnosticsjyn-2/+2
2023-11-24Show number in error message even for one errorNilstrieb-72/+72
2023-11-20Add allow-by-default lint for unit bindings许杰友 Jieyou Xu (Joe)-0/+1
2023-11-08Auto merge of #116930 - RalfJung:raw-ptr-match, r=davidtwcobors-1/+14
2023-11-04Rollup merge of #117343 - Nadrieril:cleanup_check_match, r=davidtwcoTakayuki Maeda-2/+2
2023-11-03Tweak spans for "adt defined here" noteNadrieril-2/+2
2023-11-02Pretty print Fn traits in rustc_on_unimplementedMichael Goulet-4/+4
2023-10-28make pointer_structural_match warn-by-defaultRalf Jung-1/+14
2023-10-20s/generator/coroutine/Oli Scherer-2/+2
2023-10-18Add a test showing failing closure signature inference in new solverMichael Goulet-0/+36
2023-10-04Point to where missing return type should goMichael Goulet-5/+5
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