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