]> git.lizzy.rs Git - rust.git/commitdiff
Remove the unused obsolete enum_discrim type.
authorJed Davis <jld@panix.com>
Tue, 26 Nov 2013 18:49:41 +0000 (10:49 -0800)
committerJed Davis <jld@panix.com>
Tue, 26 Nov 2013 18:54:35 +0000 (10:54 -0800)
src/librustc/middle/trans/type_.rs

index 9e95a9a6449acf8a83842ffe2cdafe80300ad0c8..579405fc881f1bdbd6e4d041d4a794050a3b6a1f 100644 (file)
@@ -278,10 +278,6 @@ pub fn opaque_cbox_ptr(cx: &CrateContext) -> 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 {