blob: 60a8793b4e6be0811e2f6e473865a3ac054c88b7 [file] [log] [blame]
fn foo<T: Iterator>() {
T::Item; //~ ERROR no associated item named `Item` found for type `T` in the current scope
}
fn main() { }