fork/rust

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

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

master
494 B19 linesraw
1error[E0390]: cannot define inherent `impl` for primitive types
2  --> $DIR/E0390.rs:5:1
3   |
4LL | impl *mut Foo {}
5   | ^^^^^^^^^^^^^
6   |
7   = help: consider using an extension trait instead
8
9error[E0390]: cannot define inherent `impl` for primitive types
10  --> $DIR/E0390.rs:7:1
11   |
12LL | impl fn(Foo) {}
13   | ^^^^^^^^^^^^
14   |
15   = help: consider using an extension trait instead
16
17error: aborting due to 2 previous errors
18
19For more information about this error, try `rustc --explain E0390`.