#![feature(trait_alias)] trait I32Iterator = Iterator; fn main() { let _: &dyn I32Iterator = &vec![42].into_iter(); //~^ ERROR type mismatch }