// 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 + 'a) { type Item = T; } fn main() {}