Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #7682 - fintelia:patch-1, r=ehuss
Features and dependencies can't have the same name The document was describing a Cargo.toml containing ``` [dependencies] postgres = { version = "*", optional = true } postgres-macros = { version = "*", optional = true } [features] postgres = ["postgres", "postgres-macros"] ``` If you tried doing this you'd get an error: ``` error: failed to parse manifest at `/home/jonathan/tmp/features/Cargo.toml` Caused by: Features and dependencies cannot have the same name: `postgres` ```
- Loading branch information