File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
src/librustc_error_codes/error_codes Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 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.
1+ More than one ` main ` function was found.
32
43Erroneous code example:
54
@@ -14,3 +13,7 @@ fn main() { // error!
1413 // ...
1514}
1615```
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.
Original file line number Diff line number Diff line change 1- A value was moved. However, its size was not known at compile time, and only
2- values of a known size can be moved.
1+ A value was moved whose size was not known at compile time.
32
43Erroneous code example:
54
You can’t perform that action at this time.
0 commit comments