mirror of https://github.com/zkat/miette.git
feat(deps): update `thiserror` from 1.0.56 to 2.0.11 (#426)
This commit is contained in:
parent
58d9f12411
commit
59c81617de
|
|
@ -13,7 +13,7 @@ rust-version = "1.70.0"
|
|||
exclude = ["images/", "tests/", "miette-derive/"]
|
||||
|
||||
[dependencies]
|
||||
thiserror = "1.0.56"
|
||||
thiserror = "2.0.11"
|
||||
miette-derive = { path = "miette-derive", version = "=7.5.0", optional = true }
|
||||
unicode-width = "0.1.11"
|
||||
cfg-if = "1.0.0"
|
||||
|
|
@ -37,7 +37,7 @@ futures = { version = "0.3", default-features = false }
|
|||
indenter = "0.3.3"
|
||||
rustversion = "1.0"
|
||||
trybuild = { version = "1.0.89", features = ["diff"] }
|
||||
syn = { version = "2.0.48", features = ["full"] }
|
||||
syn = { version = "2.0.87", features = ["full"] }
|
||||
regex = "1.10"
|
||||
lazy_static = "1.4"
|
||||
|
||||
|
|
|
|||
|
|
@ -11,6 +11,6 @@ repository = "https://github.com/zkat/miette"
|
|||
proc-macro = true
|
||||
|
||||
[dependencies]
|
||||
proc-macro2 = "1.0.78"
|
||||
proc-macro2 = "1.0.83"
|
||||
quote = "1.0.35"
|
||||
syn = "2.0.48"
|
||||
syn = "2.0.87"
|
||||
|
|
|
|||
|
|
@ -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