rust/src/test/ui/issues/issue-1900.rs
2018-12-25 21:08:33 -07:00

3 lines
86 B
Rust

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