rust/tests/ui/issues/issue-51022.rs
2023-01-11 09:32:08 +00:00

3 lines
99 B
Rust

fn main<'a>() { }
//~^ ERROR `main` function is not allowed to have generic parameters [E0131]