Implement RFC 1260 with feature_name imported_main
.
This commit is contained in:
parent
727d101561
commit
d261df4a72
38 changed files with 463 additions and 193 deletions
|
@ -1,8 +1,10 @@
|
|||
#### Note: this error code is no longer emitted by the compiler.
|
||||
|
||||
More than one `main` function was found.
|
||||
|
||||
Erroneous code example:
|
||||
|
||||
```compile_fail,E0136
|
||||
```compile_fail
|
||||
fn main() {
|
||||
// ...
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue