rust/tests/rustdoc/hidden-extern-34025.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
278 B
Rust
Raw Normal View History

2023-10-16 23:12:17 +00:00
// 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();
}
}