extern "C" { fn foo(); //~ ERROR foreign items may not have type parameters } fn main() { foo::(); //~ ERROR requires unsafe }