diff --git a/src/doc/src/reference/manifest.md b/src/doc/src/reference/manifest.md index e3168a47fdc..91251c012c2 100644 --- a/src/doc/src/reference/manifest.md +++ b/src/doc/src/reference/manifest.md @@ -576,6 +576,11 @@ unsafe_code = "forbid" enum_glob_use = "deny" ``` +Generally, these will only affect local development of the current package. +Cargo only applies these to the current package and not to dependencies. +As for dependents, Cargo suppresses lints from non-path dependencies with features like +[`--cap-lints`](../../rustc/lints/levels.html#capping-lints). + ## The `[badges]` section The `[badges]` section is for specifying status badges that can be displayed