Skip to content
Permalink
Browse files

Clean up E0069 long explanation

  • Loading branch information
GuillaumeGomez committed Nov 25, 2019
1 parent 98e2917 commit ef35980ffbdf70870c37b78aa2da1bcf1ee775a2
Showing with 3 additions and 1 deletion.
  1. +3 −1 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

0 comments on commit ef35980

Please sign in to comment.
You can’t perform that action at this time.