summary refs log tree commit diff
path: root/src/test/ui/issues/issue-21363.rs
blob: 5e30db17c6d18a53664f9554d8657b6a2aff28b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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() {}