Skip to content

Commit

Permalink
build: upgrade miette
Browse files Browse the repository at this point in the history
  • Loading branch information
azzamsa committed Feb 22, 2024
1 parent f21110a commit 4671c4a
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 46 deletions.
62 changes: 18 additions & 44 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ hickory-client = "0.24.0"

clap = { version = "4.5.1", features = ["suggestions", "color", "cargo", "derive"] }
log = "0.4.20"
miette = { version = "5.10", features = ["fancy"] }
miette = { version = "7.1.0", features = ["fancy"] }
owo-colors = "4.0.0"
serde = { version = "1.0.197", features = ["derive"] }
thiserror = "1.0.57"
Expand Down
2 changes: 1 addition & 1 deletion src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pub enum Error {
)]
InvalidConfig {
#[source_code]
src: NamedSource,
src: NamedSource<String>,
#[label("{message}")]
bad_bit: SourceOffset,
message: String,
Expand Down

0 comments on commit 4671c4a

Please sign in to comment.