blob: a5265e7dc17080b8661bb7b7b95a68a8d1715c7c [file] [log] [blame]
extern {
fn sqrt<T>(f: T) -> T;
//~^ ERROR foreign items may not have type parameters [E0044]
//~| HELP use specialization instead of type parameters by replacing them with concrete types
//~| NOTE can't have type parameters
}
fn main() {
}