summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0044.rs
blob: d9cdaf83c698cf6be7b6ac9f995a261d102071ba (plain)
1
2
3
4
5
6
7
8
extern "C" {
    fn sqrt<T>(f: T) -> T;
//~^ ERROR foreign items may not have type parameters [E0044]
//~| HELP replace the type parameters with concrete types
//~| NOTE can't have type parameters
}

fn main() {}