]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/intra-link-extern-type.rs
Auto merge of #77893 - petertodd:2020-impl-default-for-phantompinned, r=dtolnay
[rust.git] / src / test / rustdoc / intra-link-extern-type.rs
1 #![feature(extern_types)]
2
3 extern {
4     pub type ExternType;
5 }
6
7 impl ExternType {
8     pub fn f(&self) {
9
10     }
11 }
12
13 // @has 'intra_link_extern_type/foreigntype.ExternType.html'
14 // @has 'intra_link_extern_type/fn.links_to_extern_type.html' \
15 // 'href="../intra_link_extern_type/foreigntype.ExternType.html#method.f"'
16 /// See also [ExternType::f]
17 pub fn links_to_extern_type() {
18 }