summary refs log tree commit diff
path: root/src/test/ui/error-codes/E0044.rs
blob: a5265e7dc17080b8661bb7b7b95a68a8d1715c7c (plain)
1
2
3
4
5
6
7
8
9
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() {
}