]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/fn-needing-specified-return-type-param.rs
Rollup merge of #90420 - GuillaumeGomez:rustdoc-internals-feature, r=camelid
[rust.git] / src / test / ui / suggestions / fn-needing-specified-return-type-param.rs
1 fn f<A>() -> A { unimplemented!() }
2 fn foo() {
3     let _ = f; //~ ERROR type annotations needed for `fn() -> A`
4 }
5 fn main() {}