Skip to content

Commit 4cb8421

Browse files
committed
fix: Clarify dependency situation
1 parent 2b10a5e commit 4cb8421

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

text/3389-manifest-lint.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,12 @@ cargo will:
142142
- These flags will be fingerprinted so changing them will cause a rebuild only
143143
for the commands where they are used.
144144

145-
Note that this means that `[lints]` does not affect dependencies which is
146-
normally not an issue due to `--cap-lints` being used for dependencies.
145+
Note that this means that `[lints]` is only applied to the package where its
146+
defined and not to its dependencies, local or not. This avoids having to unify
147+
`[lints]` tables across local packages. Normally, lints for non-local
148+
dependencies won't be shown anyways because of `--cap-lints`. As for local
149+
dependencies, they will likely have their own `[lints]` table, most the same
150+
one, inherited from the workspace.
147151

148152
Initially, the only supported tools will be:
149153
- `rust`

0 commit comments

Comments
 (0)