rust/tests/ui/error-codes/E0390.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
494 B
Plaintext
Raw Normal View History

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