TedDriggs / darling

A Rust proc-macro attribute parser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flatten fields should combine unknown items from across multiple attributes

TedDriggs opened this issue · comments

The current placement of the initializer for a flattened field has two problems:

  1. If there are multiple attributes, only unknown items from the last attribute will be reflected in the returned value of the flattened field.
  2. If there are no attributes, there will be a spurious error for the flattened field being uninitialized