about summary refs log tree commit diff
path: root/src/test/ui/closures
AgeCommit message (Expand)AuthorLines
2021-08-16Update test output.Mara Bos-152/+44
2021-08-15Introduce hir::ExprKind::Let - Take 2Caio-6/+3
2021-08-14Only compute place if upvars can be resolvedRoxane-0/+54
2021-08-13Update comment and fix fmtRoxane-4/+4
2021-08-13Update tests for new closure migration lint wording.Mara Bos-280/+280
2021-08-13Auto merge of #87956 - m-ou-se:closure-migration-macro-body, r=Aaron1011bors-0/+56
2021-08-12Add missing multi variant casesRoxane-0/+63
2021-08-12Add test for closure migration with a macro body.Mara Bos-0/+56
2021-08-12Update test output.Mara Bos-81/+108
2021-08-11Modify structured suggestion outputEsteban Küber-191/+191
2021-08-04Remove trailing whitespace from error messagesFabian Wolff-2/+2
2021-08-03bless `expect-region-supply-region-2` test under poloniusRémy Rakic-0/+37
2021-08-03delete expectations for `expect-region-supply-region`Rémy Rakic-56/+0
2021-07-312229: Handle MutBorrow/UniqueImmBorrow betterAman Arora-16/+16
2021-07-30Auto merge of #86754 - estebank:use-multispans-more, r=varkorbors-2/+2
2021-07-30Use multispan suggestions more oftenEsteban Küber-2/+2
2021-07-28fix nitRoxane-1/+1
2021-07-28Range PatKind implies discr should be readRoxane-0/+14
2021-07-262229: Don't capture preicese paths on top of a unionAman Arora-0/+90
2021-07-18When pretty printing, name placeholders as bound regionsjackh726-1/+1
2021-07-16Rollup merge of #87161 - sexxi-goose:fix-issue-87097, r=nikomatsakisGuillaume Gomez-0/+68
2021-07-15Get the right place typeRoxane-0/+68
2021-07-14Add test for copy type in move closureAman Arora-1/+62
2021-07-11Auto merge of #86995 - sexxi-goose:rewrite, r=nikomatsakisbors-56/+142
2021-07-09Ensure deterministic ordering for diagnosticsRoxane-2/+2
2021-07-09Address commentsRoxane-10/+10
2021-07-09Handle multi diagnosticsRoxane-8/+448
2021-07-09Fix wordingRoxane-379/+235
2021-07-09Add note clarifying why a closure no longer implements a traitRoxane-10/+30
2021-07-09Add note pointing to where a closure and it's captured variables are droppedRoxane-30/+333
2021-07-09Update error messageRoxane-32/+32
2021-07-09Add note on why the variable is not fully capturedRoxane-44/+166
2021-07-09Add more testsAman Arora-1/+105
2021-07-09Move optimization to the central processing functionAman Arora-6/+6
2021-07-09Rewrite closure capture analysisAman Arora-51/+33
2021-07-09Auto merge of #86869 - sexxi-goose:rfc2229-migration-capture-kind, r=nikomats...bors-0/+13
2021-07-09Auto merge of #86701 - sexxi-goose:optimization, r=nikomatsakisbors-10/+107
2021-07-08Consider capture kind for auto traits migrationRoxane-1/+1
2021-07-08Add new test caseRoxane-0/+13
2021-07-06Rename lintRyan Levick-0/+19
2021-07-06Rename disjoint_capture_migration lint to rust_2021_incompatible_closure_capt...Ryan Levick-168/+170
2021-07-04be conservative in has_significant_dropNiko Matsakis-0/+34
2021-06-29Edition 2021 for testsAman Arora-35/+8
2021-06-292229: Reduce the size of closures with `capture_disjoint_fields`Aman Arora-10/+134
2021-06-29Rollup merge of #86673 - m-ou-se:disjoint-capture-edition-lint, r=nikomatsakisYuki Okushi-104/+186
2021-06-27Editon 2021 enables precise captureAman Arora-1279/+451
2021-06-27Make disjoint_capture_migration an edition lint.Mara Bos-104/+186
2021-06-24fixup! 2229: Capture box completely in move closuresAman Arora-4/+4
2021-06-242229: Capture box completely in move closuresAman Arora-8/+130
2021-06-22Edition 2021 enables disjoint captureAman Arora-0/+23