From 01a61394f8d69c1720fcdf77eaac635600ff87e4 Mon Sep 17 00:00:00 2001 From: Esteban Küber Date: Tue, 6 Aug 2019 22:22:04 -0700 Subject: Change wording for function without return value Fix #62677 --- src/test/ui/missing/missing-return.stderr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/ui/missing') 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 `()` -- cgit 1.4.1-3-g733a5