1 2 3 4 5
#[derive(FromPrimitive)] //~ ERROR cannot find derive macro `FromPrimitive` in this scope //~| ERROR cannot find derive macro `FromPrimitive` in this scope enum Foo {} fn main() {}