auto merge of #10677 : jld/rust/type-enum-discrim-rm, r=alexcrichton

This commit is contained in:
bors 2013-11-26 17:32:45 -08:00
commit fb52956fe4
1 changed files with 0 additions and 4 deletions

View File

@ -278,10 +278,6 @@ impl Type {
Type::opaque_box(cx).ptr_to()
}
pub fn enum_discrim(cx: &CrateContext) -> Type {
cx.int_type
}
pub fn opaque_trait(ctx: &CrateContext, store: ty::TraitStore) -> Type {
let tydesc_ptr = ctx.tydesc_type.ptr_to();
let box_ty = match store {