Skip to content

Emit Warning when not using shorthand syntax #1979

@Xavientois

Description

@Xavientois

When this is better supported for macros, we should create a clippy warning to suggest that users make use of the shorthand syntax where possible.

From this comment:

I feel like it should emit a warning much like clippy::redundant_field_names in the future.

This cannot be done until #1970 is closed and this sort of warning is better supported for macros.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-yew-macroArea: The yew-macro cratemacroIssues relating to our procedural or declarative macros

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions