blob: d5f1eec061d206c01440e106ff5f267861f2c2a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// build-pass (FIXME(62277): could be check-pass?)
// pretty-expanded FIXME #23616
#![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() {}
|