]> git.lizzy.rs Git - rust.git/commit
Don't treat a reference to a `static` as a reborrow
authorDylan MacKenzie <ecstaticmorse@gmail.com>
Wed, 27 Nov 2019 22:04:11 +0000 (14:04 -0800)
committerDylan MacKenzie <ecstaticmorse@gmail.com>
Thu, 28 Nov 2019 00:14:37 +0000 (16:14 -0800)
commita70ac50ec4cfcda283f0cb5292ea7ef14d861748
treed398e08ef74afb1ac481bd2dfc28307edfe31f79
parent5b1e10b2f6b37d9980edbd799b07e22db3a37df4
Don't treat a reference to a `static` as a reborrow

They now look the same in the MIR after #66587.
src/librustc_mir/transform/check_consts/validation.rs