Add use for enum variants

Rust added proper namespacing of enums in the latest nightly (rust-lang/rust#18973).
Merge pull request #8 from iterion/master

Add use for enum variants