uv/crates/uv-workspace
micolous 52870c587c
Fix incorrect error message when specifying tool.uv.sources.(package).workspace with other options (#11013)
## Summary

When a `pyproject.toml` `[tool.uv.sources.(package)]` section specifies
`workspace` and one or more of (`index`, `git`, `url`, `path`, `rev`,
`tag`, `branch`, `editable`), running `uv` to build or sync the package
gives the error:

```
cannot specify both `index` and `(parameter name)`
```

The error should actually say:

```
cannot specify both `workspace` and `(parameter name)`
```

## Test Plan

I ran `cargo test`, and all tests still passed.
2025-01-28 09:25:33 -05:00
..
src Fix incorrect error message when specifying tool.uv.sources.(package).workspace with other options (#11013) 2025-01-28 09:25:33 -05:00
Cargo.toml Enable --all-packages --frozen in uv sync and uv export (#8760) 2024-11-02 02:48:55 +00:00