]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/doctree.rs
Rollup merge of #60766 - vorner:weak-into-raw, r=sfackler
[rust.git] / src / librustdoc / doctree.rs
index 9c54b40b422aedd3fbe713f0599b5b8a8838fa0a..7a528e50e9c3f8aaccc00936d51d84ed3a3d2920 100644 (file)
@@ -125,6 +125,7 @@ pub struct Enum {
 
 pub struct Variant {
     pub name: Name,
+    pub id: hir::HirId,
     pub attrs: hir::HirVec<ast::Attribute>,
     pub def: hir::VariantData,
     pub stab: Option<attr::Stability>,