E0317E0317 — If May Be Missing an Else Clause
An if expression used as a value is missing an else branch.
E0200An unsafe trait must be implemented with an unsafe impl block.
The trait is declared as unsafe, meaning implementors must verify certain invariants. The impl block must also be marked as unsafe to acknowledge these safety requirements.
Add the unsafe keyword to the impl block: unsafe impl MyTrait for MyType. Add a safety comment documenting which invariants you are upholding.
E0317An if expression used as a value is missing an else branch.
E0119Two or more implementations of the same trait exist for the same type.
panic-divide-by-zeroThe program panicked because of an integer division by zero.
E0255A local definition conflicts with an imported name.
E0599The method does not exist on the given type, or the required trait is not in scope.
E0596You are trying to mutably borrow a value that is not declared as mutable.