1
Fork 0

allow parsing attributes on struct fields

This commit is contained in:
Erick Tryzelaar 2013-04-30 20:20:08 -07:00
parent c2e1f47955
commit 3e3e2f0025
6 changed files with 31 additions and 17 deletions

View file

@ -415,7 +415,8 @@ impl gen_init for protocol {
ast::struct_immutable,
ast::inherited),
id: cx.next_id(),
ty: fty
ty: fty,
attrs: ~[],
},
span: dummy_sp()
}