panic-divide-by-zeroPanic — Division by Zero
The program panicked because of an integer division by zero.
E0107A generic type or function is used with the wrong number of type parameters.
The generic requires a specific number of type parameters, but you provided too many or too few. For example, HashMap requires two type arguments (K, V) but you may have provided only one.
Check the generic definition for the expected number of type parameters. Add missing type arguments or remove extra ones. Let the compiler infer types by omitting type arguments where possible.
panic-divide-by-zeroThe program panicked because of an integer division by zero.
E0515A function tries to return a reference to a value that is created inside the function.
E0503A value cannot be used while it is mutably borrowed by another variable.
clippy::needless_returnA return keyword is used unnecessarily at the end of a function.
E0252Two imports bring the same name into scope.
E0015A non-const function is called in a constant expression context.