diff --git a/src/test/rustdoc/auxiliary/issue-99734-aux.rs b/src/test/rustdoc/auxiliary/issue-99734-aux.rs index 234d55efb554d..c842a46817ed3 100644 --- a/src/test/rustdoc/auxiliary/issue-99734-aux.rs +++ b/src/test/rustdoc/auxiliary/issue-99734-aux.rs @@ -7,5 +7,5 @@ impl Option { pub mod task {} extern "C" { - pub fn main() -> std::ffi::c_int; + pub fn main() -> std::os::raw::c_int; } diff --git a/src/test/rustdoc/issue-99734-multiple-foreigns-w-same-name.rs b/src/test/rustdoc/issue-99734-multiple-foreigns-w-same-name.rs index 3208fea05b376..cd2b5b2a28873 100644 --- a/src/test/rustdoc/issue-99734-multiple-foreigns-w-same-name.rs +++ b/src/test/rustdoc/issue-99734-multiple-foreigns-w-same-name.rs @@ -12,5 +12,5 @@ pub use issue_99734_aux::*; // @count foo/index.html '//a[@class="fn"][@title="foo::main fn"]' 1 extern "C" { - pub fn main() -> std::ffi::c_int; + pub fn main() -> std::os::raw::c_int; }