errors.fyi community error code reference
E0005
rust

Refutable Pattern in Binding

A let binding uses a pattern that is not guaranteed to match in all cases. Patterns in let statements must be irrefutable; use match or if let for patterns that can fail.

References

← all namespaces