The error reporting is currently fine, but could be much nicer. For example it still references the rust code location where the error is raised which users will not care about. This was especially irritating when implementing and correctly testing the reference suggestion feature. I think that the better solution shouldn't mention rust code/types and be nicely formatted.
We should also aggregate the errors a little better. I haven't thought out exactly how this should look but it will likely involve https://docs.rs/color-eyre/latest/color_eyre/#custom-sections-for-error-reports-via-section-trait
The error reporting is currently fine, but could be much nicer. For example it still references the rust code location where the error is raised which users will not care about. This was especially irritating when implementing and correctly testing the reference suggestion feature. I think that the better solution shouldn't mention rust code/types and be nicely formatted.
We should also aggregate the errors a little better. I haven't thought out exactly how this should look but it will likely involve https://docs.rs/color-eyre/latest/color_eyre/#custom-sections-for-error-reports-via-section-trait