summaryrefslogtreecommitdiffstats
path: root/tests/ui/derives/deriving-primitive.rs
blob: 1173eca640fc39ab844251ee95316cfcaefbd83d (plain)
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() {}