]> git.lizzy.rs Git - rust.git/blob - tests/ui/associated-types/issue-21363.rs
Rollup merge of #106427 - mejrs:translation_errors, r=davidtwco
[rust.git] / tests / ui / associated-types / issue-21363.rs
1 // check-pass
2 // pretty-expanded FIXME #23616
3
4 #![no_implicit_prelude]
5
6 trait Iterator {
7     type Item;
8     fn dummy(&self) { }
9 }
10
11 impl<'a, T> Iterator for &'a mut (dyn Iterator<Item=T> + 'a) {
12     type Item = T;
13 }
14
15 fn main() {}