- This resolves the error of the CI `Miri`: https://github.com/zkat/miette/actions/runs/13572762043/job/37952795757
This commit is contained in:
nogiro 2025-03-01 10:00:56 +09:00
parent 1d4ac23307
commit 3f351ff368
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ pub fn set_panic_hook() {
} }
#[derive(Debug, Error, Diagnostic)] #[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."))] #[diagnostic(help("set the `RUST_BACKTRACE=1` environment variable to display a backtrace."))]
struct Panic(String); struct Panic(String);