rust · rust/E0005
E0005
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.
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.