]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0131.stderr
Rollup merge of #59056 - scottmcm:even-fewer-lifetimes, r=sfackler
[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`.