Sign in
rust
/
rust
/
08cd08fbef8c6663b052d8d9e4930d5696cbb8a7
/
.
/
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
()
{}