]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/reexport-dep-foreign-fn.rs
Fix problem noticed in PR106859 with char -> u8 suggestion
[rust.git] / tests / rustdoc / reexport-dep-foreign-fn.rs
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="rust item-decl"]//code' 'pub unsafe extern "C" fn foo_ffn()'
12 pub use all_item_types::foo_ffn;