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

3 lines
86 B
Rust

fn main<T>() { }
//~^ ERROR `main` function is not allowed to have generic parameters