TedDriggs / darling

A Rust proc-macro attribute parser
MIT License
1.02k stars 66 forks source link

Skipped fields should not be offered as "Did you mean" suggestions #268

Closed TedDriggs closed 8 months ago

TedDriggs commented 8 months ago

A field marked with #[darling(skip)] cannot be set by a meta item. However, its name is still offered as one of the valid alternates when handling unknown fields, which leads to the skipped field name incorrectly being offered.