Skip to content

Commit

Permalink
Auto merge of #66066 - ecstatic-morse:remove-promotion-from-qualify-c…
Browse files Browse the repository at this point in the history
…onsts, r=eddyb

Remove promotion candidate gathering and checking from `qualify_consts.rs`

This makes promotion candidate gathering and checking the exclusive domain of `promote_consts`, but the `QualifyAndPromoteConsts` pass is still responsible for both const-checking and creating promoted MIR fragments.

This should not be merged until the beta branches on Nov. 5.

r? @eddyb
  • Loading branch information
bors committed Nov 8, 2019
2 parents c34472b + ec5ba54 commit 76ade3e
Show file tree
Hide file tree
Showing 2 changed files with 79 additions and 439 deletions.

0 comments on commit 76ade3e

Please sign in to comment.