We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30ddb5a commit ec64bbbCopy full SHA for ec64bbb
src/librustc_error_codes/error_codes/E0136.md
@@ -1,5 +1,4 @@
1
-A binary can only have one entry point, and by default that entry point is the
2
-function `main()`. If there are multiple such functions, please rename one.
+More than one `main` function was found.
3
4
Erroneous code example:
5
@@ -14,3 +13,7 @@ fn main() { // error!
14
13
// ...
15
}
16
```
+
17
+A binary can only have one entry point, and by default that entry point is the
18
+`main()` function. If there are multiple instances of this function, please
19
+rename one of them.
src/librustc_error_codes/error_codes/E0161.md
-A value was moved. However, its size was not known at compile time, and only
-values of a known size can be moved.
+A value was moved whose size was not known at compile time.
0 commit comments