Comment by epage
1 day ago
I was really excited by this but unfortunately this has major blockers in the use cases I care about (e.g. inside of `cargo`).
Generally if you care about error recovery, you also care about error formatting. Libraries like `serde_json` and `toml` provide the information necessary for you to provide custom formatting for the error messages so they can look more like rustc's output but eserde throws this away by calling `to_string` on the error messages and storing that.
No comments yet
Contribute on Hacker News ↗