2022-03-15 15:32:52 +00:00
|
|
|
error[E0390]: cannot define inherent `impl` for primitive types
|
2023-02-11 23:17:38 +00:00
|
|
|
--> $DIR/E0390.rs:5:1
|
2018-02-08 03:35:35 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | impl *mut Foo {}
|
2023-02-11 23:17:38 +00:00
|
|
|
| ^^^^^^^^^^^^^
|
2018-02-08 03:35:35 +00:00
|
|
|
|
|
2022-03-18 10:44:55 +00:00
|
|
|
= help: consider using an extension trait instead
|
2018-02-08 03:35:35 +00:00
|
|
|
|
2022-06-16 21:14:38 +00:00
|
|
|
error[E0390]: cannot define inherent `impl` for primitive types
|
2023-02-11 23:17:38 +00:00
|
|
|
--> $DIR/E0390.rs:7:1
|
2022-06-16 21:14:38 +00:00
|
|
|
|
|
|
|
|
LL | impl fn(Foo) {}
|
2023-02-11 23:17:38 +00:00
|
|
|
| ^^^^^^^^^^^^
|
2022-06-16 21:14:38 +00:00
|
|
|
|
|
|
|
|
= help: consider using an extension trait instead
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
2018-02-08 03:35:35 +00:00
|
|
|
|
2018-03-03 14:59:40 +00:00
|
|
|
For more information about this error, try `rustc --explain E0390`.
|