Skip to content

It should be an error to have [patch] in Cargo.toml that's not in a workspace root #4947

@Boscop

Description

@Boscop

It should be an error to have [patch] in Cargo.toml that's not in a workspace root because it has no effect and may lead people to think that they are patching when they are not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions