rust/src/test/compile-fail/issue-1900.rs
2012-02-25 11:06:01 -08:00

2 lines
87 B
Rust

// error-pattern: main function is not allowed to have type parameters
fn main<T>() { }