]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-51022.stderr
Require Drop impls to have the same constness on its bounds as the bounds on the...
[rust.git] / src / test / ui / issues / issue-51022.stderr
1 error[E0131]: `main` function is not allowed to have generic parameters
2   --> $DIR/issue-51022.rs:1:8
3    |
4 LL | fn main<'a>() { }
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`.