Skip to content

unused [patch] section should emit warning #4870

@SergioBenitez

Description

@SergioBenitez

This is similar to #3099 and #3324 but for the new [patch] section. In particular, [patch] sections in non-virtual workspace manifests are silently ignored. Cargo should emit a warning or deny the [patch] section in non-root workspace crates entirely.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-patchArea: [patch] table overrideC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions