about summary refs log tree commit diff
path: root/src/test/ui/closures
AgeCommit message (Expand)AuthorLines
2021-05-14add new attribute rustc_insignificant_dtor and a query to check if a type has...Dhruv Jauhar-0/+226
2021-05-13Rollup merge of #85240 - Aaron1011:no-suggest-static, r=davidtwcoGuillaume Gomez-4/+0
2021-05-13Auto merge of #83129 - LeSeulArtichaut:thir-unsafeck, r=nikomatsakisbors-3/+39
2021-05-12Don't suggest adding `'static` lifetime to argumentsAaron Hill-4/+0
2021-05-11Test `-Zthir-unsafeck` for unsafe function callsLeSeulArtichaut-3/+39
2021-05-06Fix some nitsRoxane-6/+6
2021-05-06Add additional migrations to handle auto-traits and clone traitsRoxane-19/+327
2021-05-01Closure capture borrow diagnostics for disjoint capturesChris Pardy-12/+264
2021-04-16fix reporting return type in some casesAliƩnore Bouttefeux-0/+31
2021-04-02Rollup merge of #83757 - sexxi-goose:migrations_out, r=nikomatsakisDylan DPC-108/+640
2021-04-01Make the diagnostic message more readableAman Arora-54/+54
2021-04-01Don't introduce a block if a block existsAman Arora-59/+177
2021-04-01Update test casesAman Arora-108/+522
2021-03-31give full path of constraint in suggest_constraining_type_paramhi-rustin-4/+4
2021-03-27make unaligned_refereces future-incompat lint warn-by-default, and remove the...Ralf Jung-5/+5
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