Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
traits
/
sized-coniductive.rs
blob: 5f63b166f988b04ac00a12cc91764866499ab6af [
file
] [
log
] [
blame
] [
edit
]
//@ check-pass
// https://github.com/rust-lang/rust/issues/129541
#[
derive
(
Clone
)]
struct
Test
{
field
:
std
::
borrow
::
Cow
<
'
static
,
[
Self
]>,
}
#[
derive
(
Clone
)]
struct
Hello
{
a
:
<[
Hello
]
as
std
::
borrow
::
ToOwned
>::
Owned
,
}
fn
main
(){}