about summary refs log tree commit diff
path: root/src/test/ui/closures/2229_closure_analysis
AgeCommit message (Expand)AuthorLines
2021-08-12Update test output.Mara Bos-81/+108
2021-08-11Modify structured suggestion outputEsteban Küber-182/+182
2021-07-312229: Handle MutBorrow/UniqueImmBorrow betterAman Arora-16/+16
2021-07-30Auto merge of #86754 - estebank:use-multispans-more, r=varkorbors-1/+1
2021-07-30Use multispan suggestions more oftenEsteban Küber-1/+1
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-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
2021-05-14add new attribute rustc_insignificant_dtor and a query to check if a type has...Dhruv Jauhar-0/+226
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-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-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