]> git.lizzy.rs Git - rust.git/blob - tests/pretty/fn-return.rs
Rollup merge of #107769 - compiler-errors:pointer-like, r=eholk
[rust.git] / tests / pretty / fn-return.rs
1 // pp-exact
2
3 // Check that `fn f() -> () {}` does not print as `fn f() {}`.
4
5 fn f() -> () {}
6
7 fn main() {}