summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-51022.stderr
blob: 5e196bd4e25a5b6f8053e81dcc7835cf557bd0f4 (plain)
1
2
3
4
5
6
7
8
9
error[E0131]: `main` function is not allowed to have generic parameters
  --> $DIR/issue-51022.rs:1:8
   |
LL | fn main<'a>() { }
   |        ^^^^ `main` cannot have generic parameters

error: aborting due to previous error

For more information about this error, try `rustc --explain E0131`.