diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2019-08-06 22:22:04 -0700 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2019-08-09 07:18:05 -0700 |
| commit | 01a61394f8d69c1720fcdf77eaac635600ff87e4 (patch) | |
| tree | 0002ba796ea5685cefb4eae9c9c2cfcd1e38c90e /src/test/ui/missing | |
| parent | 4fbbf99c509042e89572f8575c875889874edb45 (diff) | |
| download | rust-01a61394f8d69c1720fcdf77eaac635600ff87e4.tar.gz rust-01a61394f8d69c1720fcdf77eaac635600ff87e4.zip | |
Change wording for function without return value
Fix #62677
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 42466e2fc65..c7d7116a9cd 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 + | this function's body doesn't return a value | = note: expected type `isize` found type `()` |
