Closed rbtcollins closed 3 months ago
Yes, that was left in between the lines which we should make more explicit. #576 tries to make this more explicit.
The reason it isn't directly compatible is so you can make the decision on your side for how you want to handle it (and things are a bit messier with generics).
Please complete the following tasks
rust version
1.79
winnow version
v0.6.16
Minimal reproducible code
Steps to reproduce the bug with the above code
compile it
Actual Behaviour
Expected Behaviour
thiserror's from implementation should be able to handle ParseError as the intended interop-with-rust-ecosystem type.
Additional Context
The discussions around this so far suggest converting to a String at the call sight, which is certainly a viable workaround, but if so, please explain that in the tutorial page that highlights the importance of an owned std::error::Error to ecosystem interop