]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #46524 - eddyb:static-static, r=arielb1
authorbors <bors@rust-lang.org>
Wed, 6 Dec 2017 23:42:17 +0000 (23:42 +0000)
committerbors <bors@rust-lang.org>
Wed, 6 Dec 2017 23:42:17 +0000 (23:42 +0000)
rustc_mir: promote references of statics from other statics.

Fixes #46522 by also allowing `STATIC_REF` in MIR const-qualification, not just AST rvalue promotion.


Trivial merge