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/E0131.rs:1:8
|
2018-02-07 19:35:35 -08:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | fn main<T>() {
|
2018-05-27 21:54:10 +01:00
|
|
|
| ^^^ `main` cannot have generic parameters
|
2018-02-07 19:35:35 -08:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-03-03 15:59:40 +01:00
|
|
|
For more information about this error, try `rustc --explain E0131`.
|