Lines Matching refs:doc
26 /// - Outer one-line doc comments like `/// Example`.
28 /// - Inner one-line doc comments like `//! Please file an issue`.
53 /// All doc comments are represented in the NameValue style with a path of
54 /// "doc", as this is how they are processed by the compiler and by
130 /// The compiler transforms doc comments, such as `/// comment` and `/*!
132 /// expanded into an attribute of the form `#[doc = r"comment"]`.
138 /// let doc: ItemMod = parse_quote! {
139 /// /// Single line doc comments
151 /// #[doc = r" Single line doc comments"]
152 /// #[doc = r" We write so many!"]
153 /// #[doc = r"
158 /// #![doc = r" Of course, they can be inner too"]
159 /// #![doc = r" And fit in a single line "]
162 /// assert_eq!(doc, attr);
164 #[cfg_attr(doc_cfg, doc(cfg(any(feature = "full", feature = "derive"))))]
213 #[cfg_attr(doc_cfg, doc(cfg(feature = "parsing")))]
236 #[cfg_attr(doc_cfg, doc(cfg(feature = "parsing")))]
268 /// [syntax]: https://doc.rust-lang.org/reference/attributes.html#meta-item-attribute-syntax
382 #[cfg_attr(doc_cfg, doc(cfg(feature = "parsing")))]
397 #[cfg_attr(doc_cfg, doc(cfg(feature = "parsing")))]
413 #[cfg_attr(doc_cfg, doc(cfg(feature = "parsing")))]
436 #[cfg_attr(doc_cfg, doc(cfg(any(feature = "full", feature = "derive"))))]
464 #[cfg_attr(doc_cfg, doc(cfg(any(feature = "full", feature = "derive"))))]
478 #[cfg_attr(doc_cfg, doc(cfg(any(feature = "full", feature = "derive"))))]
488 #[cfg_attr(doc_cfg, doc(cfg(any(feature = "full", feature = "derive"))))]
511 #[cfg_attr(doc_cfg, doc(cfg(feature = "parsing")))]
523 #[cfg_attr(doc_cfg, doc(cfg(feature = "parsing")))]
541 #[cfg_attr(doc_cfg, doc(cfg(feature = "parsing")))]
561 #[cfg_attr(doc_cfg, doc(cfg(feature = "parsing")))]
568 #[cfg_attr(doc_cfg, doc(cfg(feature = "parsing")))]
576 #[cfg_attr(doc_cfg, doc(cfg(feature = "parsing")))]
650 #[cfg_attr(doc_cfg, doc(cfg(feature = "parsing")))]
658 #[cfg_attr(doc_cfg, doc(cfg(feature = "parsing")))]
666 #[cfg_attr(doc_cfg, doc(cfg(feature = "parsing")))]
747 #[cfg_attr(doc_cfg, doc(cfg(feature = "printing")))]
760 #[cfg_attr(doc_cfg, doc(cfg(feature = "printing")))]
768 #[cfg_attr(doc_cfg, doc(cfg(feature = "printing")))]