]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/fn-colon-return-type.stderr
Merge commit 'fdb84cbfd25908df5683f8f62388f663d9260e39' into clippyup
[rust.git] / src / test / ui / parser / fn-colon-return-type.stderr
1 error: return types are denoted using `->`
2   --> $DIR/fn-colon-return-type.rs:1:15
3    |
4 LL | fn foo(x: i32): i32 {
5    |               ^ help: use `->` instead
6
7 error: aborting due to previous error
8