1 2 3 4 5 6 7 8 9 10 11
//@ check-pass use std::borrow::Cow; #[derive(Clone)] enum Test<'a> { Int(u8), Array(Cow<'a, [Test<'a>]>), } fn main() {}