Skip to content

Commit

Permalink
Merge pull request #4337 from weiznich/bump_dependencies
Browse files Browse the repository at this point in the history
Bump thiserror to 2.0
  • Loading branch information
weiznich authored Nov 8, 2024
2 parents cd4300b + 8e304e0 commit a5f7548
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion diesel_cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ diesel_table_macro_syntax = { version = "0.2", path = "../diesel_table_macro_syn
syn = { version = "2", features = ["visit"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3.10", features = ["env-filter"] }
thiserror = "1.0.10"
thiserror = "2.0.0"
similar-asserts = "1.6.0"

[dependencies.diesel]
Expand Down
2 changes: 1 addition & 1 deletion diesel_cli/src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub enum Error {
ProjectRootNotFound(PathBuf),
#[error("The --database-url argument must be passed, or the DATABASE_URL environment variable must be set.")]
DatabaseUrlMissing,
#[error("Encountered an IO error: {0} {}", print_optional_path(.1))]
#[error("Encountered an IO error: {0} {n}", n=print_optional_path(.1))]
IoError(#[source] std::io::Error, Option<PathBuf>),
#[error("Failed to execute a database query: {0}")]
QueryError(#[from] diesel::result::Error),
Expand Down

0 comments on commit a5f7548

Please sign in to comment.