1 A trait implementation was marked as unsafe while the trait is safe.
3 Erroneous code example:
10 unsafe impl Bar for Foo { } // error!
13 Safe traits should not have unsafe implementations, therefore marking an
14 implementation for a safe trait unsafe will cause a compiler error. Removing
15 the unsafe marker on the trait noted in the error will resolve this problem:
22 impl Bar for Foo { } // ok!