E0405E0405 — Cannot Find Trait in This Scope
A trait name is used but not defined or imported in the current scope.
E0507You are trying to move a value out of a reference, which would leave the reference dangling.
Moving a value out of a reference would invalidate the original data. This commonly happens when trying to return a field from a borrowed struct or pattern matching on a reference.
Clone the value instead of moving it. Use .to_owned() or .clone() to create an owned copy. Use ref in pattern matching to borrow instead of move. Return a reference instead of an owned value.
E0405A trait name is used but not defined or imported in the current scope.
clippy::clone_on_copyThe clone() method is called on a type that implements Copy.
E0382A value is used after it has been moved to another variable or function.
clippy::single_matchA match expression with only one meaningful arm can be simplified to an if let.
panic-integer-overflowThe program panicked because an arithmetic operation caused integer overflow in debug mode.
E0425An identifier is used but not defined in the current scope.