Drop an unused field from param_substs.
This commit is contained in:
parent
0252693db2
commit
5943118728
@ -130,9 +130,8 @@ pub struct ValSelfData {
|
||||
// will only be set in the case of default methods.
|
||||
pub struct param_substs {
|
||||
tys: ~[ty::t],
|
||||
vtables: Option<typeck::vtable_res>,
|
||||
type_param_defs: @~[ty::TypeParameterDef],
|
||||
self_ty: Option<ty::t>,
|
||||
vtables: Option<typeck::vtable_res>,
|
||||
self_vtable: Option<typeck::vtable_origin>
|
||||
}
|
||||
|
||||
@ -144,10 +143,9 @@ impl param_substs {
|
||||
}
|
||||
|
||||
fn param_substs_to_str(this: ¶m_substs, tcx: ty::ctxt) -> ~str {
|
||||
fmt!("param_substs {tys:%s, vtables:%s, type_param_defs:%s}",
|
||||
fmt!("param_substs {tys:%s, vtables:%s}",
|
||||
this.tys.repr(tcx),
|
||||
this.vtables.repr(tcx),
|
||||
this.type_param_defs.repr(tcx))
|
||||
this.vtables.repr(tcx))
|
||||
}
|
||||
|
||||
impl Repr for param_substs {
|
||||
|
@ -177,7 +177,6 @@ pub fn monomorphic_fn(ccx: @mut CrateContext,
|
||||
let psubsts = Some(@param_substs {
|
||||
tys: substs,
|
||||
vtables: vtables,
|
||||
type_param_defs: tpt.generics.type_param_defs,
|
||||
self_ty: real_substs.self_ty,
|
||||
self_vtable: self_vtable
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user