about summary refs log tree commit diff
path: root/tests/ui/traits/solver-cycles/100347-recursive-enum-cow-slice.rs
blob: 26ae42b3e082f95df02f76988a728b0eeec1ffc5 (plain)
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() {}