Skip to content

Unknown sections are silently ignored for virtual manifest #4491

@RalfJung

Description

@RalfJung

For a virtual manifest (no [package] section), unknown sections in the Cargo.toml sections are silently ignored. For non-virtual packages, however, they trigger a warning.

Behavior should be consistent, and probably also trigger a warning for virtual manifests.

Also see rust-lang/rfcs#1133 (comment).

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Error and warning messages generated by Cargo itself.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions