1 2 3 4 5 6 7 8 9
use light_clone::LightClone; #[derive(Clone, LightClone)] enum BadEnum { Good { x: i32 }, Bad { s: String }, // String does not implement LightClone } fn main() {}