diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2019-11-25 13:50:25 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2019-11-25 15:39:07 +0100 |
| commit | ef35980ffbdf70870c37b78aa2da1bcf1ee775a2 (patch) | |
| tree | b032ad1dfe1e284862a5139330fbe04f9da4e4c1 | |
| parent | 98e29176264635da8a8c0b2f2ccabf282cfa2282 (diff) | |
| download | rust-ef35980ffbdf70870c37b78aa2da1bcf1ee775a2.tar.gz rust-ef35980ffbdf70870c37b78aa2da1bcf1ee775a2.zip | |
Clean up E0069 long explanation
| -rw-r--r-- | src/librustc_error_codes/error_codes/E0069.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/librustc_error_codes/error_codes/E0069.md b/src/librustc_error_codes/error_codes/E0069.md index ad3b1803b54..7367a5c0922 100644 --- a/src/librustc_error_codes/error_codes/E0069.md +++ b/src/librustc_error_codes/error_codes/E0069.md @@ -1,5 +1,7 @@ The compiler found a function whose body contains a `return;` statement but -whose return type is not `()`. An example of this is: +whose return type is not `()`. + +Erroneous code example: ```compile_fail,E0069 // error |
