Sign in
rust
/
rust
/
e8a00a7621606f8c4a34b679cefaaa6aecf2442e
/
.
/
tests
/
ui
/
associated-types
/
issue-21363.rs
blob: 96d4c2023491132357b8a9031f2ee9a1b8e10535 [
file
] [
log
] [
blame
]
//@ 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
()
{}