rust/tests/ui/fn/issue-1900.rs
2024-03-31 14:58:17 -03:00

3 lines
86 B
Rust

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