additional_bounds: Vec::new(),
generics: LifetimeBounds::empty(),
is_unsafe: false,
+ supports_unions: false,
methods: vec![MethodDef {
name: "fmt",
generics: LifetimeBounds::empty(),
let mut stmts = match *substr.fields {
Struct(_, ref fields) |
- EnumMatching(_, _, ref fields) => {
+ EnumMatching(.., ref fields) => {
let mut stmts = vec![];
if !is_struct {
// tuple struct/"normal" variant