mirror of
https://github.com/rust-lang/rust
synced 2024-09-05 16:57:03 +00:00
13 lines
377 B
Plaintext
13 lines
377 B
Plaintext
error[E0046]: not all trait items implemented, missing: `Unit`
|
|
--> $DIR/associated-type2.rs:11:1
|
|
|
|
|
LL | type Unit;
|
|
| --------- `Unit` from trait
|
|
...
|
|
LL | impl<T> ToUnit for *const T {}
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Unit` in implementation
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0046`.
|