eyre-rs / eyre

A trait object based error handling type for easy idiomatic error handling and reporting in Rust applications
Apache License 2.0
1.35k stars 63 forks source link

Fix compile probe and nightly backtraces #160

Closed ten3roberts closed 1 month ago

ten3roberts commented 5 months ago

This addresses the invalid compile probe testing for a non-longer existing feature by updating it and eyre to use the error_generic_member_access features instead.

The report and errors have all been updated to accomodate this and the new backtrace provide API

Fixes: #84 and #97

ten3roberts commented 5 months ago

I have to pin trybuild as it has added a dependency to toml which only supports >1.70

ten3roberts commented 5 months ago

Well... this is embarassing.

Once again the backtrace test is being finicky, this time due to (I believe) a warning injected by cargo, breaking it all.

ten3roberts commented 5 months ago

I fixed it in https://github.com/eyre-rs/eyre/pull/161 and included the fix here.

Will rebase ontop of #161 when that is merged

thenorili commented 5 months ago

It looks like this isn't quite finished. Have you considered working from this PR to fix nightly backtraces?

https://github.com/eyre-rs/eyre/pull/124