Skip to content

Commit

Permalink
Remove the unused obsolete enum_discrim type.
Browse files Browse the repository at this point in the history
  • Loading branch information
jld committed Nov 26, 2013
1 parent e03f17e commit 7920772
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/librustc/middle/trans/type_.rs
Expand Up @@ -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 {
Expand Down

5 comments on commit 7920772

@bors
Copy link
Contributor

@bors bors commented on 7920772 Nov 27, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from alexcrichton
at jld@7920772

@bors
Copy link
Contributor

@bors bors commented on 7920772 Nov 27, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging jld/rust/type-enum-discrim-rm = 7920772 into auto

@bors
Copy link
Contributor

@bors bors commented on 7920772 Nov 27, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jld/rust/type-enum-discrim-rm = 7920772 merged ok, testing candidate = fb52956

@bors
Copy link
Contributor

@bors bors commented on 7920772 Nov 27, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 7920772 Nov 27, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = fb52956

Please sign in to comment.