audunhalland / unimock

A versatile and developer-friendly trait mocking library
MIT License
71 stars 3 forks source link

Consider migrating to ariadne or miette for error reports #13

Closed audunhalland closed 1 year ago

audunhalland commented 1 year ago

https://crates.io/crates/miette

audunhalland commented 1 year ago

While these kinds of "compiler-error" messages might be nice to parse mentally, they are not 100% compatible with unimock's kinds of errors. For example, unimock doesn't have a (complete) source code to display. Unimock is able to refer to a source line only where the matching! macro is used. Also, unimock uses diff output in many cases.

audunhalland commented 1 year ago

Decided this is out of scope.