_From @hmvp on December 14, 2017 15:6_ This does not compile: ``` #[derive(Debug, FromPrimitive)] pub(crate) enum Foo { A = 1, B = 2, } ``` removing `(crate)` makes it work _Copied from original issue: rust-num/num#352_