mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
12 lines
133 B
Rust
12 lines
133 B
Rust
//@ check-pass
|
|
|
|
use std::borrow::Cow;
|
|
|
|
#[derive(Clone)]
|
|
enum Test<'a> {
|
|
Int(u8),
|
|
Array(Cow<'a, [Test<'a>]>),
|
|
}
|
|
|
|
fn main() {}
|