You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/rustdoc-json-types/lib.rs
+4-2
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ pub type FxHashMap<K, V> = HashMap<K, V>; // re-export for use in src/librustdoc
30
30
/// This integer is incremented with every breaking change to the API,
31
31
/// and is returned along with the JSON blob as [`Crate::format_version`].
32
32
/// Consuming code should assert that this value matches the format version(s) that it supports.
33
-
pubconstFORMAT_VERSION:u32 = 39;
33
+
pubconstFORMAT_VERSION:u32 = 40;
34
34
35
35
/// The root of the emitted JSON blob.
36
36
///
@@ -120,7 +120,9 @@ pub struct Item {
120
120
pubdocs:Option<String>,
121
121
/// This mapping resolves [intra-doc links](https://github.com/rust-lang/rfcs/blob/master/text/1946-intra-rustdoc-links.md) from the docstring to their IDs
122
122
publinks:HashMap<String,Id>,
123
-
/// Stringified versions of the attributes on this item (e.g. `"#[inline]"`)
123
+
/// Stringified versions of parsed attributes on this item.
124
+
/// Essentially debug printed (e.g. `#[inline]` becomes something similar to `#[attr="Inline(Hint)"]`).
125
+
/// Equivalent to the hir pretty-printing of attributes.
124
126
pubattrs:Vec<String>,
125
127
/// Information about the item’s deprecation, if present.
0 commit comments