]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Rollup merge of #85564 - pnkfelix:issue-85435-readd-capture-disjoint-fields-gate...
authorDylan DPC <dylan.dpc@gmail.com>
Thu, 27 May 2021 01:02:08 +0000 (03:02 +0200)
committerGitHub <noreply@github.com>
Thu, 27 May 2021 01:02:08 +0000 (03:02 +0200)
commit9d4a6449db6624e18373cea10f1def6cb670f063
treedda3cadd5f8914b9e6d65c2ae04abba8c63a18e0
parent3530a7895acd495983a9cd6d7c5b2a9773337366
parent1c1d4f907d1aa903a5fecae3fa75298042f5d8d9
Rollup merge of #85564 - pnkfelix:issue-85435-readd-capture-disjoint-fields-gate, r=nikomatsakis

 readd capture disjoint fields gate

This readds a feature gate guard that was added in PR #83521. (Basically, there were unintended consequences to the code exposed by removing the feature gate guard.)

The root bug still remains to be resolved, as discussed in issue #85561. This is just a band-aid suitable for a beta backport.

Cc issue #85435

Note that the latter issue is unfixed until we backport this (or another fix) to 1.53 beta
compiler/rustc_mir_build/src/build/expr/as_rvalue.rs