From 499ee8062728b1624e71e2690add8a610a1b10e1 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Fri, 9 Feb 2024 09:10:39 -0600 Subject: [PATCH] docs(changelog): Clarify lints in virtual workspace error --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c5e3fb2b8a0..275026a3fb6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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)