fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
1.0 KiB36 linesraw
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`.