mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-30 03:27:31 +00:00
Update Rust crate thiserror to v2 (#9006)
This commit is contained in:
parent
21d570fac9
commit
312ae12650
9 changed files with 78 additions and 58 deletions
|
|
@ -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),
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue