blob: d5f1eec061d206c01440e106ff5f267861f2c2a9 [file] [log] [blame]
// 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() {}