提交 8341a9a8 编写于 作者: G Guillaume Gomez

Clean up E0131 error explanation

上级 d202b595
It is not possible to define `main` with generic parameters.
When `main` is present, it must take no arguments and return `()`.
The `main` function was defined with generic parameters.
Erroneous code example:
```compile_fail,E0131
fn main<T>() { // error: main function is not allowed to have generic parameters
}
```
It is not possible to define the `main` function with generic parameters.
It must not take any arguments.
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册