Skip to content

Commit fc1d58f

Browse files
committed
Auto merge of #13425 - epage:changelog, r=weihanglo
docs(changelog): Clarify lints in virtual workspace error Inspired by a conversation at #13155
2 parents 6283793 + 499ee80 commit fc1d58f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,8 @@
227227

228228
### Changed
229229

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

0 commit comments

Comments
 (0)