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