dtolnay / dtolnay/thiserror

Support From generation for Backtrace in stable rust

Open
#390 3 comments 20 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
5.5k
Forks
213
PR merge metrics
No merged PRs in 30d

Description

Currently Backtrace support has a (documented) limitation of requiring nightly rust. Presumably, this is to use `provide` API.

We'd like to use `Backtrace` and `#[from]` generation in stable rust, but it currently is tied to unstable `error_generic_member_access`.

`Backtrace` is stable since rust 1.62.0 would be nice to use it without implementing From manually and use provide api only when it is available.

See #387 for more discussion

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.