]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0131.stderr
Merge commit '266e96785ab71834b917bf474f130a6d8fdecd4b' into sync_cg_clif-2022-10-23
[rust.git] / src / test / ui / error-codes / E0131.stderr
1 error[E0131]: `main` function is not allowed to have generic parameters
2   --> $DIR/E0131.rs:1:8
3    |
4 LL | fn main<T>() {
5    |        ^^^ `main` cannot have generic parameters
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0131`.