let trait_def = TraitDef {
span: span,
attributes: Vec::new(),
- path: Path::new(vec!("std", "fmt", "Debug")),
+ path: Path::new(vec!["std", "fmt", "Debug"]),
additional_bounds: Vec::new(),
generics: LifetimeBounds::empty(),
- methods: vec!(
+ methods: vec![
MethodDef {
name: "fmt",
generics: LifetimeBounds::empty(),
show_substructure(a, b, c)
})
}
- )
+ ],
+ associated_types: Vec::new(),
};
trait_def.expand(cx, mitem, item, push)
}