Auto merge of #13425 - epage:changelog, r=weihanglo

docs(changelog): Clarify lints in virtual workspace error

Inspired by a conversation at #13155
This commit is contained in:
bors 2024-02-09 15:54:29 +00:00
commit fc1d58fd05

View File

@ -227,8 +227,8 @@
### Changed
- ❗️ Disallow `[lints]` in virtual workspaces.
This was an overlook and `[lints]` in virtual workspaces always has no effect.
- ❗️ Disallow `[lints]` in virtual workspaces as they are ignored and users likely meant `[workspace.lints]`.
This was an oversight in the initial implementation (e.g. a `[dependencies]` produces the same error).
[#13155](https://github.com/rust-lang/cargo/pull/13155)
- Disallow empty name in several places like package ID spec and `cargo new`.
[#13152](https://github.com/rust-lang/cargo/pull/13152)