fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0390]: cannot define inherent `impl` for primitive types 2 --> $DIR/kinds-of-primitive-impl.rs:1:1 3 | 4LL | impl u8 { 5 | ^^^^^^^ 6 | 7 = help: consider using an extension trait instead 8 9error[E0390]: cannot define inherent `impl` for primitive types 10 --> $DIR/kinds-of-primitive-impl.rs:6:1 11 | 12LL | impl str { 13 | ^^^^^^^^ 14 | 15 = help: consider using an extension trait instead 16 17error[E0390]: cannot define inherent `impl` for primitive types 18 --> $DIR/kinds-of-primitive-impl.rs:12:1 19 | 20LL | impl char { 21 | ^^^^^^^^^ 22 | 23 = help: consider using an extension trait instead 24 25error[E0390]: cannot define inherent `impl` for primitive types 26 --> $DIR/kinds-of-primitive-impl.rs:21:1 27 | 28LL | impl &MyType { 29 | ^^^^^^^^^^^^ 30 | 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 33 34error: aborting due to 4 previous errors 35 36For more information about this error, try `rustc --explain E0390`.