blob: 65a429c1fcacd5aa99c1296e43f3ea1bcd30d854 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
error[E0044]: foreign items may not have type parameters
--> $DIR/E0044.rs:11:10
|
11 | extern { fn some_func<T>(x: T); } //~ ERROR E0044
| ^^^^^^^^^^^^^^^^^^^^^^
|
help: consider using specialization instead of type parameters
--> $DIR/E0044.rs:11:10
|
11 | extern { fn some_func<T>(x: T); } //~ ERROR E0044
| ^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to previous error
|