mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-22 08:12:44 +00:00
![]() ## Summary `#[serde(flatten)]` has a disastrous effect on error messages: serde no longer tells you which field errored, nor does it show it to you in the diagnostic output. Before: ``` warning: Failed to parse `pyproject.toml` during settings discovery: TOML parse error at line 9, column 1 | 9 | [tool.uv] | ^^^^^^^^^ invalid type: string "foo", expected a sequence ``` After: ``` warning: Failed to parse `pyproject.toml` during settings discovery: TOML parse error at line 10, column 19 | 10 | extra-index-url = "foo" | ^^^^^ invalid type: string "foo", expected a sequence ``` Closes https://github.com/astral-sh/uv/issues/7113. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |