fix(lib): enums are now namespaced

See rust-lang/rust#18973