Provide span for visit_struct_def + remove some dead code

This commit is contained in:
Vadim Petrochenkov 2015-10-02 20:06:59 +03:00
parent 877c35e8a2
commit beda1f88a7
13 changed files with 26 additions and 51 deletions

View file

@ -1570,12 +1570,6 @@ pub struct ForeignMod {
pub items: Vec<P<ForeignItem>>,
}
#[derive(Clone, PartialEq, Eq, RustcEncodable, RustcDecodable, Hash, Debug)]
pub struct VariantArg {
pub ty: P<Ty>,
pub id: NodeId,
}
#[derive(Clone, PartialEq, Eq, RustcEncodable, RustcDecodable, Hash, Debug)]
pub struct EnumDef {
pub variants: Vec<P<Variant>>,