diff options
| author | bors <bors@rust-lang.org> | 2018-04-27 23:31:43 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-04-27 23:31:43 +0000 |
| commit | ede7f94794213187b7d8984fdd24be6eb6106b96 (patch) | |
| tree | 81e7aa351705e7b1d8375c9b23594d2086318ec8 /src/test/incremental/thinlto | |
| parent | 686d0ae137b1d66711694903607750ad54f60f69 (diff) | |
| parent | 902bc0fb1afb9eeb04c541787bcef37e67bfbcbe (diff) | |
| download | rust-ede7f94794213187b7d8984fdd24be6eb6106b96.tar.gz rust-ede7f94794213187b7d8984fdd24be6eb6106b96.zip | |
Auto merge of #49822 - matthewjasper:dropck-closures, r=nikomatsakis
Access individual fields of tuples, closures and generators on drop. Fixes #48623, by extending the change in #47917 to closures. Also does this for tuples and generators for consistency. Enums are unchanged because there is now way to borrow `*enum.field` without borrowing `enum.field` at the moment, so any error would be reported when the enum goes out of scope. Unions aren't changed because unions they don't automatically drop their fields. r? @nikomatsakis
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
