rust/tests/ui/error-codes/E0390.stderr
2023-01-11 09:32:08 +00:00

20 lines
494 B
Plaintext

error[E0390]: cannot define inherent `impl` for primitive types
--> $DIR/E0390.rs:5:6
|
LL | impl *mut Foo {}
| ^^^^^^^^
|
= help: consider using an extension trait instead
error[E0390]: cannot define inherent `impl` for primitive types
--> $DIR/E0390.rs:7:6
|
LL | impl fn(Foo) {}
| ^^^^^^^
|
= help: consider using an extension trait instead
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0390`.