Add use for enum variants

Rust added proper namespacing of enums in the latest nightly (rust-lang/rust#18973).