]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #30931 - oli-obk:trans_disr_newtype, r=arielb1
authorbors <bors@rust-lang.org>
Sun, 17 Jan 2016 10:31:47 +0000 (10:31 +0000)
committerbors <bors@rust-lang.org>
Sun, 17 Jan 2016 10:31:47 +0000 (10:31 +0000)
This is groundwork for #30587 (typestrong constant integrals), but imo it's a change that in itself is good, too, since we don't just juggle `u64`s around anymore.

`ty::Disr` will be changed to a `ConstInt` in #30587

1  2 
src/librustc_trans/trans/foreign.rs
src/librustc_typeck/check/mod.rs

Simple merge
Simple merge