summary refs log tree commit diff
path: root/src/test/ui/closures
AgeCommit message (Expand)AuthorLines
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
2020-11-10Update tests with min capture informationAman Arora-0/+454
2020-11-10Add helper function for Capture Esclations and expressionsAman Arora-2/+9
2020-11-10Add initial set of testcases for RFC 2229Aman Arora-2/+907
2020-11-10Indroduce feature flag for RFC-2229Aman Arora-0/+34
2020-10-29Make anonymous binders start at 0Jack Huey-2/+2
2020-10-27Add unsized_fn_params featureSantiago Pastorino-1/+1
2020-10-22Explain where the closure return type was inferredAaron Hill-0/+38
2020-10-06Fix tests from rebaseMatthew Jasper-3/+3
2020-10-06Normalize projection bounds when considering candidatesMatthew Jasper-2/+21
2020-09-28Add tests for updated closure/generator printingAman Arora-0/+218
2020-09-28pretty.rs: Update Closure and Generator printAman Arora-13/+13
2020-09-17Only visit types once when walking the type treeValerii Lashmanov-0/+59
2020-09-02pretty: trim paths of unique symbolsDan Aloni-15/+15
2020-07-27mv std libs to library/mark-2/+2
2020-07-14Remove redundant explanatory `note` for type parametersEsteban Küber-2/+0
2020-06-28Update testsDylan MacKenzie-12/+2