We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c4ce9d commit fd48ea0Copy full SHA for fd48ea0
src/test/rustdoc/reexport-dep-foreign-fn.rs
@@ -0,0 +1,12 @@
1
+// aux-build:all-item-types.rs
2
+
3
+// This test is to ensure there is no problem on handling foreign functions
4
+// coming from a dependency.
5
6
+#![crate_name = "foo"]
7
8
+extern crate all_item_types;
9
10
+// @has 'foo/fn.foo_ffn.html'
11
+// @has - '//*[@class="docblock item-decl"]//code' 'pub unsafe extern "C" fn foo_ffn()'
12
+pub use all_item_types::foo_ffn;
0 commit comments