enums are now imported explicitly

`master` is broken because of [this push to Rust](https://github.com/rust-lang/rust/pull/18973).  This pull request fixes this.