rust/tests/ui/derives/deriving-primitive.rs
2023-01-11 09:32:08 +00:00

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() {}