Update Rust crate thiserror to v2 (#9006)

This commit is contained in:
renovate[bot] 2024-11-15 09:54:16 -06:00 committed by GitHub
parent 21d570fac9
commit 312ae12650
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 78 additions and 58 deletions

View file

@ -294,7 +294,7 @@ pub enum Error {
#[error("Failed to parse: `{}`", _0.user_display())]
UvToml(PathBuf, #[source] Box<toml::de::Error>),
#[error("Failed to parse: `{}`. The `{1}` field is not allowed in a `uv.toml` file. `{1}` is only applicable in the context of a project, and should be placed in a `pyproject.toml` file instead.", _0.user_display())]
#[error("Failed to parse: `{}`. The `{}` field is not allowed in a `uv.toml` file. `{}` is only applicable in the context of a project, and should be placed in a `pyproject.toml` file instead.", _0.user_display(), _1, _1)]
PyprojectOnlyField(PathBuf, &'static str),
}