// Test that no help message is emitted that suggests renaming the // associated type from a non-local trait pub trait NewIter: Iterator { type Item; } impl Clone for Box> { //~^ ERROR the value of the associated type `Item` in `Iterator` must be specified fn clone(&self) -> Self { unimplemented!(); } } pub fn main() {}