about summary refs log tree commit diff
path: root/src/test/ui/closures
AgeCommit message (Expand)AuthorLines
2021-03-222229 migration: Don't try resolve regions before writebackAman Arora-0/+25
2021-03-18Replace closures_captures and upvar_capture with closure_min_capturesJennifer Wills-0/+259
2021-03-15Add comments with examples and testsRoxane-39/+566
2021-03-14Only borrow place for matching under specific conditionsRoxane-0/+148
2021-03-14Use the correct FakeReadCauseRoxane-427/+201
2021-03-14Attempt to deal with nested closures properlyRoxane-0/+528
2021-03-14Introduce new fake readsRoxane-11/+7
2021-03-092229: Handle capturing a reference into a repr packed structAman Arora-0/+326
2021-02-23Skip emitting closure diagnostic when closure_kind_origins has no entryAaron Hill-0/+40
2021-02-18Add explanations and suggestions to `irrefutable_let_patterns` lintCamelid-0/+2
2021-02-18Rollup merge of #82215 - TaKO8Ki:replace-if-let-while-let, r=varkorDylan DPC-2/+2
2021-02-17replace if-let and while-let with `if let` and `while let`Takayuki Maeda-2/+2
2021-02-15Treat read of COpy types via refs as not move in move-closureAman Arora-34/+248
2021-02-15Handle restricting closure originAman Arora-0/+39
2021-02-15Implement reborrow for closure capturesAman Arora-12/+59
2021-02-09Tests for precise lint analysisAman Arora-0/+232
2021-02-03Fix panic when emitting diagnostic for closure mutable binding errorAaron Hill-0/+18
2021-02-02Rollup merge of #81634 - jesusprubio:jesusprubio/add-long-explanation-e0521, ...Jack Huey-0/+1
2021-02-01New migrationAman Arora-28/+28
2021-02-01PR fixupAman Arora-2/+2
2021-02-01Tests for 2229 lintAman Arora-0/+559
2021-02-01Update ui testsJesus Rubio-0/+1
2021-01-31Rollup merge of #80092 - sexxi-goose:restrict_precision, r=nikomatsakisJonas Schievink-0/+964
2021-01-30Rollup merge of #81291 - sexxi-goose:fix-struct-update-functional-record-upda...Yuki Okushi-0/+57
2021-01-29Fix incorrect use mut diagnosticsAman Arora-37/+70
2021-01-29Fix unused 'mut' warning for capture's root variableAman Arora-17/+46
2021-01-29Test for restricting capture precisionAman Arora-0/+657
2021-01-29Test cases for handling mutable referencesAman Arora-0/+245
2021-01-28Add a test for syntax like: ..t.sDhruv Jauhar-1/+17
2021-01-29Rollup merge of #81158 - 1000teslas:issue-80313-fix, r=Aaron1011Yuki Okushi-0/+84
2021-01-28Rollup merge of #81062 - sexxi-goose:precise_capture_diagnostics, r=nikomatsakisYuki Okushi-2/+628
2021-01-26add testsChris Pardy-0/+195
2021-01-25Point to span of upvar making closure FnMut1000teslas-0/+84
2021-01-22Make functional record update/struct update syntax works inside closures when...Dhruv Jauhar-0/+41
2021-01-21Lower closure prototype after its body.Camille GILLOT-0/+68
2021-01-17Rollup merge of #80635 - sexxi-goose:use-place-instead-of-symbol, r=nikomatsa...Mara Bos-0/+251
2021-01-16fix line numbersChris Pardy-25/+25
2021-01-15fix tidyChris Pardy-5/+2
2021-01-15Improve diagnostics for Precise CaptureChris Pardy-2/+436
2021-01-13Rollup merge of #78901 - arora-aman:fix_closure_coerce, r=estebankDylan DPC-0/+87
2021-01-02use hir::Place instead of Symbol in closure_kind_originRoxane-0/+251
2021-01-01Move block-related testsYuki Okushi-0/+180
2020-12-29Remove `compile-fail` test suiteVadim Petrochenkov-0/+31
2020-12-11Test cases for RFC 2229Aman Arora-0/+914
2020-11-29diagnostics: Note capturing closures can't be coerced to fnsAman Arora-0/+87
2020-11-13Log closure as wellAman Arora-215/+716
2020-11-10Add test for capturing enumsAman Arora-0/+134
2020-11-10Address review comments 2Aman Arora-27/+27
2020-11-10More pattern testcasesAman Arora-63/+314
2020-11-10Reduce verbosity of capture analysis logsRoxane Fruytier-876/+218