blob: 62d3d8b8ebd1ccb6159065250c91c59a1134235d [file] [log] [blame]
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`.