]> git.lizzy.rs Git - rust.git/blob - tests/ui/missing/missing-items/missing-type-parameter.rs
Rollup merge of #106766 - GuillaumeGomez:rm-stripper-dead-code, r=notriddle
[rust.git] / tests / ui / missing / missing-items / missing-type-parameter.rs
1 fn foo<X>() { }
2
3 fn main() {
4     foo(); //~ ERROR type annotations needed
5 }