Check enums in missing_doc lint

Closes #9671
auto merge of #9675 : sfackler/rust/lint, r=alexcrichton

Closes #9671