Sign in
rust
/
rust
/
97b1c314892ef4497c0ce5656daa3a54c4e052d3
/
.
/
tests
/
ui
/
associated-types
/
issue-21363.rs
blob: 96d4c2023491132357b8a9031f2ee9a1b8e10535 [
file
]
//@ check-pass
#![
no_implicit_prelude
]
trait
Iterator
{
type
Item
;
fn
dummy
(&
self
)
{
}
}
impl
<
'a, T> Iterator for &'
a
mut
(
dyn
Iterator
<
Item
=
T
>
+
'
a
)
{
type
Item
=
T
;
}
fn
main
()
{}