summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc/intra-doc/extern-builtin-type-impl.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc/intra-doc/extern-builtin-type-impl.rs')
-rw-r--r--src/test/rustdoc/intra-doc/extern-builtin-type-impl.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/rustdoc/intra-doc/extern-builtin-type-impl.rs b/src/test/rustdoc/intra-doc/extern-builtin-type-impl.rs
new file mode 100644
index 000000000..7bb1ded3f
--- /dev/null
+++ b/src/test/rustdoc/intra-doc/extern-builtin-type-impl.rs
@@ -0,0 +1,11 @@
+// Reexport of a structure that derefs to a type with lang item impls having doc links in their
+// comments. The doc link points to an associated item, so we check that traits in scope for that
+// link are populated.
+
+// aux-build:extern-builtin-type-impl-dep.rs
+
+#![no_std]
+
+extern crate extern_builtin_type_impl_dep;
+
+pub use extern_builtin_type_impl_dep::DerefsToF64;