E0255E0255 — Name Conflict with Import
A local definition conflicts with an imported name.
E0277A dynamically sized type (DST) is used where a Sized type is required.
Types like str, [T], and dyn Trait do not have a known size at compile time. Most generic parameters require Sized by default. You cannot store DSTs directly on the stack.
Use Box<dyn Trait>, &dyn Trait, or &str instead of bare DSTs. Add ?Sized bound to generic parameters if you want to accept DSTs: fn f<T: ?Sized>(x: &T). Use a concrete sized type.
E0255A local definition conflicts with an imported name.
unused_mutA variable is declared as mutable but never actually mutated.
panic-index-out-of-boundsThe program panicked because an index was out of the valid range for a collection.
E0277A type that does not implement Send is used in a context that requires thread-safety.
panic-divide-by-zeroThe program panicked because of an integer division by zero.
E0499A value is borrowed mutably more than once at the same time.