rust/src/test/ui/issues/issue-21363.rs
2018-12-25 21:08:33 -07:00

16 lines
227 B
Rust

// compile-pass
// pretty-expanded FIXME #23616
#![no_implicit_prelude]
trait Iterator {
type Item;
fn dummy(&self) { }
}
impl<'a, T> Iterator for &'a mut (Iterator<Item=T> + 'a) {
type Item = T;
}
fn main() {}