1 error[E0390]: cannot define inherent `impl` for primitive types
2 --> $DIR/kinds-of-primitive-impl.rs:1:6
7 = help: consider using an extension trait instead
9 error[E0390]: cannot define inherent `impl` for primitive types
10 --> $DIR/kinds-of-primitive-impl.rs:6:6
15 = help: consider using an extension trait instead
17 error[E0390]: cannot define inherent `impl` for primitive types
18 --> $DIR/kinds-of-primitive-impl.rs:12:6
23 = help: consider using an extension trait instead
25 error[E0390]: cannot define inherent `impl` for primitive types
26 --> $DIR/kinds-of-primitive-impl.rs:21:6
31 = help: consider using an extension trait instead
32 = note: you could also try moving the reference to uses of `MyType` (such as `self`) within the implementation
34 error: aborting due to 4 previous errors
36 For more information about this error, try `rustc --explain E0390`.