#![deny(improper_ctypes_definitions)] extern "C" fn foo() -> Option<&'static T> { //~^ ERROR `extern` fn uses type `Option<&T>`, which is not FFI-safe None } fn main() {}