Skip to content

Introduce #![deny(clippy::unwrap_used)] #1637

@richox

Description

@richox

Is your feature request related to a problem? Please describe.

https://blog.cloudflare.com/18-november-2025-outage/

Cloudflare experienced several hours of downtime, resulting in a loss of billions of dollars in market value because of a Result::unwrap() call. we should learn from that and forbid .unwrap() in our codebase.

Describe the solution you'd like

add #![deny(clippy::unwrap_used)] to all modules (tests can be excluded). so no unwrap call is allowed in the code. as a walkaround, developers are likely to use .expect("... some reason why this extraction is always valid ...") to extract the value.

Describe alternatives you've considered

Additional context

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions