nrxus / faux

Struct mocking library for Rust
https://nrxus.github.io/faux/
MIT License
415 stars 14 forks source link

Better Errors #7

Closed nrxus closed 4 years ago

nrxus commented 4 years ago

Better macro expansion compiler errors.

Do as much as we can while compiling on stable.

Also investigate these nightly features proc_macro_diagnostic & proc_macro_def_site as ways of better compiler errors. Might be worth having a nightly feature in the crate that enables these features for better compiler errors.

nrxus commented 4 years ago

Investigate: https://gitlab.com/CreepySkeleton/proc-macro-error

TedDriggs commented 4 years ago

Now that you’re using darling, would its errors do what you need?