File tree 2 files changed +6
-4
lines changed
src/librustc_error_codes/error_codes
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.
3
2
4
3
Erroneous code example:
5
4
@@ -14,3 +13,7 @@ fn main() { // error!
14
13
// ...
15
14
}
16
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.
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.
3
2
4
3
Erroneous code example:
5
4
You can’t perform that action at this time.
0 commit comments