diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2019-08-08 15:55:18 -0700 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2019-08-09 07:18:05 -0700 |
| commit | 33d1082d6e3cb9fe5e0fd090f52a3effa9871fce (patch) | |
| tree | a363eb2acc0ae2bc65399b14a2729844ebf80680 /src/test/ui/missing | |
| parent | 5a54945b6f637eadd4848874db39b49d2764839f (diff) | |
| download | rust-33d1082d6e3cb9fe5e0fd090f52a3effa9871fce.tar.gz rust-33d1082d6e3cb9fe5e0fd090f52a3effa9871fce.zip | |
review comment: review wording or missing return error
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 4cd516ba81d..541e9fa4a40 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 implicitly returns `()` as its body has no tail or `return` expression | = note: expected type `isize` found type `()` |
