]> git.lizzy.rs Git - rust.git/commit
Auto merge of #34167 - eddyb:fix-pairs-for-real, r=nikomatsakis
authorbors <bors@rust-lang.org>
Wed, 8 Jun 2016 23:41:01 +0000 (16:41 -0700)
committerbors <bors@rust-lang.org>
Wed, 8 Jun 2016 23:41:01 +0000 (16:41 -0700)
commit34505e22289d3b2416ab0922131e8526d0d5cc0b
treef44c493740913132f2c0e210e98ce66f433bc18f
parent0d531bfb881e6d303d09de9f212eaac72a9a218d
parent22fa769bc45da67dd6a8a60c4f9ae8b9f7e54e29
Auto merge of #34167 - eddyb:fix-pairs-for-real, r=nikomatsakis

trans: don't misuse C_nil for ZSTs other than ().

`C_nil` is actually `C_null` for `()` so `TempRef::new_operand` was treating all ZSTs as `()`.
This should allow running Servo with `RUSTFLAGS=-Zorbit`, assuming there are no other bugs.
src/librustc_trans/mir/mod.rs