Skip to content

empty impl obsolete syntax error is wrong #9561

Closed
@metajack

Description

@metajack

impl Foo for Bar;
fails with
error: obsolete syntax: empty implementation
and the span points to the next item not the empty impl.

Why not specifically say what the new syntax is?

cc @alexcrichton

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lints

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions