dtolnay / dtolnay/anyhow

Readme claims backtraces captured "if the underlying error type does not already provide its own"

Open
#409 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
6.7k
Forks
224
PR merge metrics
No merged PRs in 30d

Description

This is true inasmuch as the sentence uses "if" and not "if and only if", but I was misled by the phrasing.

IIUC, anyhow can only check to see if the underlying error provides a backtrace if [the unstable `error_generic_member_access` feature is enabled](https://github.com/dtolnay/anyhow/blob/427c0bb0f34d5da378112f6a19db9efebfd0e40a/src/backtrace.rs#L38).

If so, I can do a quick PR to say this in the readme. It's only a sentence.

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.