mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
14 lines
278 B
Rust
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();
|
|
}
|
|
}
|