Sign in
fuchsia
/
third_party
/
rust
/
23f762d3b15eb897b1fd3199e8c075393b067b68
/
.
/
tests
/
crashes
/
105299.rs
blob: 8e3aafa47bc9f716c0cefbb7aff862e3bd56e5df [
file
] [
log
] [
blame
]
//@ known-bug: #105299
pub
trait
Foo
:
Clone
{}
pub
struct
Bar
<
'
a
,
T
:
Clone
>
{
pub
cow
:
std
::
borrow
::
Cow
<
'
a
,
[
T
]>,
pub
THIS_CAUSES_ICE
:
(),
// #1
}
impl
<
T
>
Bar
<
'
_
,
T
>
where
T
:
Clone
,
[
T
]:
Foo
,
{
pub
fn
MOVES_SELF
(
self
)
{}
// #2
}
pub
fn
main
()
{}