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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
207 B
Rust
Raw Normal View History

#[derive(FromPrimitive)] //~ ERROR cannot find derive macro `FromPrimitive` in this scope
2020-01-08 11:02:10 -06:00
//~| ERROR cannot find derive macro `FromPrimitive` in this scope
enum Foo {}
fn main() {}