allow parsing attributes on struct fields
This commit is contained in:
parent
c2e1f47955
commit
3e3e2f0025
6 changed files with 31 additions and 17 deletions
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue