mirror of https://github.com/zkat/miette.git
fix `ambiguous reference` caused by https://github.com/dtolnay/thiserror/pull/354
- This resolves the error of the CI `Miri`: https://github.com/zkat/miette/actions/runs/13572762043/job/37952795757
This commit is contained in:
parent
1d4ac23307
commit
3f351ff368
|
|
@ -26,7 +26,7 @@ pub fn set_panic_hook() {
|
|||
}
|
||||
|
||||
#[derive(Debug, Error, Diagnostic)]
|
||||
#[error("{0}{}", Panic::backtrace())]
|
||||
#[error("{0}{panic}", panic = Panic::backtrace())]
|
||||
#[diagnostic(help("set the `RUST_BACKTRACE=1` environment variable to display a backtrace."))]
|
||||
struct Panic(String);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue