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