1 2 3 4 5 6 7 8 9
#![deny(warnings)] pub struct Foo; extern "C" { pub fn foo(x: (Foo)); //~ ERROR `extern` block uses type `Foo` } fn main() {}