clippy::redundant_closureClippy — Redundant Closure
A closure that just calls a function can be replaced with the function itself.
E0063A struct is being constructed without all required fields.
One or more fields are missing from the struct literal. All fields without default values must be specified when constructing a struct.
Add the missing fields to the struct literal. Use ..Default::default() if the struct implements Default and you want default values for missing fields. Check the struct definition for all required fields.
clippy::redundant_closureA closure that just calls a function can be replaced with the function itself.
E0502A value cannot be mutably borrowed while an immutable borrow is still active.
E0133An unsafe function or operation is used outside of an unsafe block.
E0433The module path used in a use statement or type path cannot be resolved.
panic-divide-by-zeroThe program panicked because of an integer division by zero.
E0503A value cannot be used while it is mutably borrowed by another variable.