Skip to content

Make macro emit a warning instead of an error? #2

@Xaeroxe

Description

@Xaeroxe

I believe it should be possible to emit a warning, using proc_macro::Diagnostic. With that in mind, I believe it'd be preferable to have the default behavior be to warn, and then opt in to it being an error.

This also helps with #1, because when a dependency emits a warning Cargo silently ignores it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions