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.
2 parents f0fdc46 + 7bfcfd2 commit a6116b9Copy full SHA for a6116b9
src/test/rustdoc/intra-doc/assoc-reexport-super.rs
@@ -0,0 +1,20 @@
1
+// Regression test for #93205
2
+
3
+#![crate_name = "foo"]
4
5
+mod generated {
6
+ pub struct MyNewType;
7
+ impl MyNewType {
8
+ pub const FOO: Self = Self;
9
+ }
10
+}
11
12
+pub use generated::MyNewType;
13
14
+mod prelude {
15
+ impl super::MyNewType {
16
+ /// An alias for [`Self::FOO`].
17
+ // @has 'foo/struct.MyNewType.html' '//a[@href="struct.MyNewType.html#associatedconstant.FOO"]' 'Self::FOO'
18
+ pub const FOO2: Self = Self::FOO;
19
20
0 commit comments