Remove the unused obsolete enum_discrim type.
This commit is contained in:
parent
e03f17eb21
commit
792077274c
1 changed files with 0 additions and 4 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue