summary refs log tree commit diff
path: root/src/test/compile-fail/issue-1900.rs
blob: 7b20b69b2cdb9cf967514155725b281f4e4e03ea (plain)
1
2
// error-pattern: main function is not allowed to have type parameters
fn main<T>() { }