rust/tests/ui/issues/issue-38919.rs
2023-01-11 09:32:08 +00:00

5 lines
102 B
Rust

fn foo<T: Iterator>() {
T::Item; //~ ERROR no associated item named `Item` found
}
fn main() { }