Skip to content
Myr

Show an example of {:?} without backtrace

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Tolnay · committed by David Tolnay · parent 5e4177f · Browse files · 1 file+9 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+9 added−0 removed

  • other:+9 added−0 removed

1 file+9 added−0 removed

modified:src/lib.rs+9 added
286 unmodified lines
287/// Error: Failed to read instrs from ./path/to/instrs.json288///289/// Caused by:290/// No such file or directory (os error 2)291/// ```292///293/// and if there is a backtrace available:294///295/// ```console296/// Error: Failed to read instrs from ./path/to/instrs.json297///298/// Caused by:299/// No such file or directory (os error 2)300///301/// Stack backtrace:302/// 0: <E as anyhow::context::ext::StdError>::ext_context303/// at /git/anyhow/src/backtrace.rs:26304/// 1: core::result::Result<T,E>::map_err
308 unmodified lines