about summary refs log tree commit diff
path: root/tests/ui/closures/2229_closure_analysis
AgeCommit message (Expand)AuthorLines
2023-12-18Fix ICE `ProjectionKinds Deref and Field were mismatched`Gurinder Singh-0/+27
2023-11-24Show number in error message even for one errorNilstrieb-22/+22
2023-11-08Auto merge of #116930 - RalfJung:raw-ptr-match, r=davidtwcobors-1/+14
2023-11-03Tweak spans for "adt defined here" noteNadrieril-2/+2
2023-10-28make pointer_structural_match warn-by-defaultRalf Jung-1/+14
2023-09-22Capture scrutinee of if let guards correctlyMatthew Jasper-0/+158
2023-09-16Auto merge of #115315 - RalfJung:field-capture-packed-alignment, r=oli-obkbors-17/+12
2023-09-03Improve clarity of diagnostic message on non-exhaustive matchesSebastian Toh-1/+1
2023-08-28closure field capturing: don't depend on alignment of packed fieldsRalf Jung-17/+12
2023-08-28Add note when matching on nested non-exhaustive enumsSebastian Toh-1/+2
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-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-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-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-21Run `check_match` and `check_liveness` when MIR is built instead of having an...Oli Scherer-14/+14
2023-03-27Fix subslice capture in closureclubby789-0/+39
2023-02-28Remove the `capture_disjoint_fields` featureclubby789-4/+1
2023-02-15Fix unintentional UB in ui testsBen Kimock-9/+9
2023-01-31make unaligned_reference a hard errorRalf Jung-19/+2
2023-01-15Tweak E0597Esteban Küber-15/+15
2023-01-11Move /src/test to /testsAlbert Larsan-0/+10257