summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/hidden-extern-34025.rs
blob: 81ccf2a0e5cc3101565d2073b737b47e55c21968 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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();
    }
}