error[E0044]: foreign items may not have type parameters --> $DIR/E0044.rs:11:10 | LL | extern { fn some_func(x: T); } //~ ERROR E0044 | ^^^^^^^^^^^^^^^^^^^^^^ | help: consider using specialization instead of type parameters --> $DIR/E0044.rs:11:10 | LL | extern { fn some_func(x: T); } //~ ERROR E0044 | ^^^^^^^^^^^^^^^^^^^^^^ error: aborting due to previous error If you want more information on this error, try using "rustc --explain E0044"