Sign in
rust
/
rust
/
dc0ec741a8a06b0c3bb5596fbb00a4e29fad3877
/
.
/
tests
/
crashes
/
150517.rs
blob: de14628547d284feb7370f0ad996a178c4a8e567 [
file
]
//@ known-bug: #150517
trait
Stream
{
type
Item
;
fn
next
(
self
)
->
();
}
impl
Stream
for
&
'
a
()
{}
impl
<
'
a
,
A
>
Stream
for
<&
A
as
Stream
>::
Item
{}
trait
StreamExt
{
fn
f
(
self
)
->
()
where
for
<
'b> &'
b A
:
Stream
,
{
self
.
next
()
}
}