rust/tests/rustdoc/hidden-extern-34025.rs
2024-06-24 11:08:41 +02:00

14 lines
278 B
Rust

// https://github.com/rust-lang/rust/issues/34025
#![crate_name = "foo"]
//@ !has 'foo/sys/index.html'
//@ !has 'foo/sys/sidebar-items.js'
#[doc(hidden)]
pub mod sys {
extern "C" {
//@ !has 'foo/sys/fn.foo.html'
#[doc(hidden)]
pub fn foo();
}
}