]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0044.rs
Merge commit 'a98e7ab8b94485be6bd03e0c6b8682ecab5b52e6' into clippyup
[rust.git] / src / test / ui / error-codes / E0044.rs
1 extern "C" {
2     fn sqrt<T>(f: T) -> T;
3 //~^ ERROR foreign items may not have type parameters [E0044]
4 //~| HELP replace the type parameters with concrete types
5 //~| NOTE can't have type parameters
6 }
7
8 fn main() {}