Skip to content

specialisation error 502 is misleading #36553

Closed
@nrc

Description

@nrc
error[E0520]: `Foo` specializes an item from a parent `impl`, but neither that item nor the `impl` are marked `default`

Because the impl itself cannot be marked default, only the individual item.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lintsA-specializationArea: Trait impl specializationE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions