Members of enums are imported

[This push](https://github.com/rust-lang/rust/pull/18973) breaks `master`.  This pull request makes everything (including tests) compile again.