about summary refs log tree commit diff
path: root/tests/rustdoc/impl/implementors-unstable-75588.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc/impl/implementors-unstable-75588.rs')
-rw-r--r--tests/rustdoc/impl/implementors-unstable-75588.rs18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/rustdoc/impl/implementors-unstable-75588.rs b/tests/rustdoc/impl/implementors-unstable-75588.rs
new file mode 100644
index 00000000000..44a785c4ad9
--- /dev/null
+++ b/tests/rustdoc/impl/implementors-unstable-75588.rs
@@ -0,0 +1,18 @@
+//@ aux-build:realcore.rs
+//@ aux-build:real_gimli.rs
+
+// Ensure unstably exported traits have their Implementors sections.
+// https://github.com/rust-lang/rust/issues/75588
+
+#![crate_name = "foo"]
+#![feature(extremely_unstable_foo)]
+
+extern crate realcore;
+extern crate real_gimli;
+
+// issue #74672
+//@ !has foo/trait.Deref.html '//*[@id="impl-Deref-for-EndianSlice"]//h3[@class="code-header"]' 'impl Deref for EndianSlice'
+pub use realcore::Deref;
+
+//@ has foo/trait.Join.html '//*[@id="impl-Join-for-Foo"]//h3[@class="code-header"]' 'impl Join for Foo'
+pub use realcore::Join;