rust/tests/ui/derives/deriving-primitive.rs

6 lines
207 B
Rust

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