]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Rollup merge of #91410 - ecstatic-morse:const-precise-live-drops-take-2, r=oli-obk
authorMatthias Krüger <matthias.krueger@famsik.de>
Thu, 2 Dec 2021 21:16:13 +0000 (22:16 +0100)
committerGitHub <noreply@github.com>
Thu, 2 Dec 2021 21:16:13 +0000 (22:16 +0100)
commit39641319ad135007b498e9f936a2894276c65d3b
tree6ee2f38fd052c500d23577c7628a5171ad9f8a03
parentb269213b35f102a22b5a9645de48814fa255f7a2
parent37fa92552586a9f91fefd92518b66dfde4c64771
Rollup merge of #91410 - ecstatic-morse:const-precise-live-drops-take-2, r=oli-obk

Move `#![feature(const_precise_live_drops)]` checks earlier in the pipeline

Should mitigate the issues found during MCP on #73255.

Once this is done, we should clean up the queries a bit, since I think `mir_drops_elaborated_and_const_checked` can be merged back into `mir_promoted`.

Fixes #90770.

cc ``@rust-lang/wg-const-eval``
r? ``@nikomatsakis`` (since they reviewed #71824)
compiler/rustc_mir_transform/src/lib.rs