rustc/tests/ui/fn/issue-1900.rs
2024-06-24 14:48:22 +02:00

3 lines
86 B
Rust

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