rust/tests/ui/missing/missing-items/missing-type-parameter.rs

6 lines
76 B
Rust

fn foo<X>() { }
fn main() {
foo(); //~ ERROR type annotations needed
}