We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78a6e13 commit fb01811Copy full SHA for fb01811
tests/rustdoc/reexport/auxiliary/wrap-unnamable-type.rs
@@ -0,0 +1,12 @@
1
+pub trait Assoc {
2
+ type Ty;
3
+}
4
+
5
+pub struct Foo(<Foo as crate::Assoc>::Ty);
6
7
+const _: () = {
8
+ impl crate::Assoc for Foo {
9
+ type Ty = Bar;
10
+ }
11
+ pub struct Bar;
12
+};
tests/rustdoc/reexport/wrapped-unnamble-type-143222.rs
+//@ compile-flags: -Z normalize-docs --document-private-items -Zunstable-options --show-type-layout
+//@ aux-build:wrap-unnamable-type.rs
+//@ build-aux-docs
+#![crate_name = "foo"]
+extern crate wrap_unnamable_type as helper;
+//extern crate helper;
+//@ has 'foo/struct.Foo.html'
+//@ !hasraw - '_/struct.Bar.html'
+#[doc(inline)]
+pub use helper::Foo;
0 commit comments