Skip to content

panic_implementation: Error message talks about the panic_impl lang item when missing #51341

@phil-opp

Description

@phil-opp

If the new panic_implementation attribute is missing, the error message mentions the a panic_impl lang item:

error: language item required, but not found: `panic_impl`

Instead it should probably mention that a panic_implementation function is missing.

Edit: Seems like I didn't read it carefully enough. The error message doesn't mention the old panic_fmt language item, but a new panic_impl language item. Either way, a error message mentioning the panic_implementation attribute would be better.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions