2018-05-27 15:54:10 -05:00
|
|
|
error[E0131]: `main` function is not allowed to have generic parameters
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-51022.rs:1:8
|
2018-05-27 10:04:27 -05:00
|
|
|
|
|
|
|
|
LL | fn main<'a>() { }
|
2018-05-27 15:54:10 -05:00
|
|
|
| ^^^^ `main` cannot have generic parameters
|
2018-05-27 10:04:27 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0131`.
|