rust/tests/ui/fn/issue-1900.rs

3 lines
86 B
Rust

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