diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2019-08-08 14:53:00 -0700 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2019-08-09 07:18:05 -0700 |
| commit | efa62d66e36306fba6025528aee381dd165fa8bd (patch) | |
| tree | 1eaaa3c5b3e34dcbf0e56c88c30dcbcf18780ded /src/test/ui/missing | |
| parent | 0d53f699eaa7d1fec1e6013a6a42b39992c119d3 (diff) | |
| download | rust-efa62d66e36306fba6025528aee381dd165fa8bd.tar.gz rust-efa62d66e36306fba6025528aee381dd165fa8bd.zip | |
Tweak wording of fn without explicit return
Diffstat (limited to 'src/test/ui/missing')
| -rw-r--r-- | src/test/ui/missing/missing-return.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/missing/missing-return.stderr b/src/test/ui/missing/missing-return.stderr index c7d7116a9cd..4cd516ba81d 100644 --- a/src/test/ui/missing/missing-return.stderr +++ b/src/test/ui/missing/missing-return.stderr @@ -4,7 +4,7 @@ error[E0308]: mismatched types LL | fn f() -> isize { } | - ^^^^^ expected isize, found () | | - | this function's body doesn't return a value + | this function's body doesn't `return` a value | = note: expected type `isize` found type `()` |
