#[macro_use] extern crate derivative; #[derive(Derivative)] //~^ ERROR custom derive attribute panicked //~| HELP can't use `#[derivative(PartialEq)]` on an enumeration without `feature_allow_slow_enum` #[derivative(PartialEq)] enum Option { Some(T), None, } fn main() {}