rust/src/test/ui/issues/issue-38919.rs
2018-12-25 21:08:33 -07:00

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() { }