]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/intra-doc/extern-type.rs
Merge commit '533f0fc81ab9ba097779fcd27c8f9ea12261fef5' into psimd
[rust.git] / src / test / rustdoc / intra-doc / 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 'extern_type/foreigntype.ExternType.html'
14 // @has 'extern_type/fn.links_to_extern_type.html' \
15 // 'href="foreigntype.ExternType.html#method.f"'
16 /// See also [ExternType::f]
17 pub fn links_to_extern_type() {}