Skip to content

Commit efdf0ed

Browse files
authored
Merge pull request #48 from DeterminateSystems/dependabot/cargo/cargo-deps-6d985d939c
Bump thiserror from 1.0.69 to 2.0.12 in the cargo-deps group across 1 directory
2 parents a2fbf41 + a7ae924 commit efdf0ed

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ serde = ["dep:serde", "indexmap/serde"]
1414
[dependencies]
1515
indexmap = "2"
1616
serde = { version = "1.0.152", features = ["derive"], optional = true }
17-
thiserror = "1.0.61"
17+
thiserror = "2.0.12"
1818

1919
[dev-dependencies]
2020
tempfile = "3.10.1"

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,9 @@ impl NixConfig {
174174
pub enum ParseError {
175175
#[error("file '{0}' not found")]
176176
FileNotFound(PathBuf),
177-
#[error("file '{0}' included from '{}' not found", .1.as_ref().map(|path| path.display().to_string()).unwrap_or(String::from("<unknown>")))]
177+
#[error("file '{0}' included from '{origination}' not found", origination=.1.as_ref().map(|path| path.display().to_string()).unwrap_or(String::from("<unknown>")))]
178178
IncludedFileNotFound(PathBuf, Option<PathBuf>),
179-
#[error("illegal configuration line '{0}' in '{}'", .1.as_ref().map(|path| path.display().to_string()).unwrap_or(String::from("<unknown>")))]
179+
#[error("illegal configuration line '{0}' in '{origination}'", origination=.1.as_ref().map(|path| path.display().to_string()).unwrap_or(String::from("<unknown>")))]
180180
IllegalConfiguration(String, Option<PathBuf>),
181181
#[error("failed to read contents of '{0}': {1}")]
182182
FailedToReadFile(PathBuf, #[source] std::io::Error),

0 commit comments

Comments
 (0)