]> git.lizzy.rs Git - rust.git/commitdiff
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)
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.

1  2 
src/librustc_trans/mir/mod.rs

Simple merge