]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/doctree.rs
Use Names in path fragments and MacroDef
[rust.git] / src / librustdoc / doctree.rs
index c090bcfe01006d6f79d4ea4126efb1d9b00bb666..be283c19cfac4eadebb4ad56c24e097a9a57609c 100644 (file)
@@ -210,12 +210,12 @@ pub struct DefaultImpl {
 }
 
 pub struct Macro {
-    pub name: Ident,
+    pub name: Name,
     pub id: ast::NodeId,
     pub attrs: Vec<ast::Attribute>,
     pub whence: Span,
     pub stab: Option<attr::Stability>,
-    pub imported_from: Option<Ident>,
+    pub imported_from: Option<Name>,
 }
 
 pub struct ExternCrate {