]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0044.rs
Rollup merge of #59056 - scottmcm:even-fewer-lifetimes, r=sfackler
[rust.git] / src / test / ui / error-codes / E0044.rs
1 extern {
2     fn sqrt<T>(f: T) -> T;
3     //~^ ERROR foreign items may not have type parameters [E0044]
4     //~| HELP use specialization instead of type parameters by replacing them with concrete types
5     //~| NOTE can't have type parameters
6 }
7
8 fn main() {
9 }