We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aef1140 commit f35e587Copy full SHA for f35e587
library/std/src/keyword_docs.rs
@@ -1310,7 +1310,11 @@ mod return_keyword {}
1310
/// [Reference]: ../reference/items/associated-items.html#methods
1311
mod self_keyword {}
1312
1313
-#[doc(keyword = "Self")]
+// FIXME: Once rustdoc can handle URL conflicts on case insensitive file systems, we can remove the
1314
+// three next lines and put back: `#[doc(keyword = "Self")]`.
1315
+#[doc(alias = "Self")]
1316
+#[allow(rustc::existing_doc_keyword)]
1317
+#[doc(keyword = "SelfTy")]
1318
//
1319
/// The implementing type within a [`trait`] or [`impl`] block, or the current type within a type
1320
/// definition.
0 commit comments