]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #51328 - oli-obk:no_union_promotion, r=eddyb
authorbors <bors@rust-lang.org>
Mon, 4 Jun 2018 11:29:38 +0000 (11:29 +0000)
committerbors <bors@rust-lang.org>
Mon, 4 Jun 2018 11:29:38 +0000 (11:29 +0000)
Do not promote union field accesses

r? @eddyb

technically a breaking change, but the code errored on the previous stable and produces UB + a warning on the current stable. I don't think we need a crater run in that case.


Trivial merge