impl From<DefKind> for ItemType
This was missed a while ago when support for proc-macro attributes was first added.