summary refs log tree commit diff
path: root/src/test/ui/issues/issue-38919.rs
blob: 60a8793b4e6be0811e2f6e473865a3ac054c88b7 (plain)
1
2
3
4
5
fn foo<T: Iterator>() {
    T::Item; //~ ERROR no associated item named `Item` found for type `T` in the current scope
}

fn main() { }