colin-kiegel / rust-derive-builder

derive builder implementation for rust structs
https://colin-kiegel.github.io/rust-derive-builder/
Apache License 2.0
1.32k stars 88 forks source link

Improve spans for default blocks #195

Closed TedDriggs closed 2 years ago

TedDriggs commented 3 years ago

Right now, bad code in default = "..." expressions don't produce useful error spans. It would be an improvement to point to the offending block.