6 lines
136 B
Rust
6 lines
136 B
Rust
fn foo<T: Iterator>() {
|
|
T::Item; //~ ERROR no associated item named `Item` found for type `T` in the current scope
|
|
}
|
|
|
|
fn main() { }
|