Skip to content

Lint std::panic::catch_unwind #1196

@llogiq

Description

@llogiq

This should only be used when one has no control over code that may panic, e.g. using integer division with unknown operands (although overflower should cover that, too). Otherwise, using a Result type should be the preferred way of dealing with errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintArea: New lintsT-ASTType: Requires working with the ASTgood first issueThese issues are a good way to get started with Clippy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions