fn encode_info_for_macro_def(&mut self, macro_def: &hir::MacroDef) -> Entry<'tcx> {
        Entry {
            kind: EntryKind::MacroDef(self.lazy(&MacroDef {
                body: ::syntax::print::pprust::tts_to_string(&macro_def.body)
            })),
            visibility: self.lazy(&ty::Visibility::Public),
            span: self.lazy(&macro_def.span),

            attributes: self.encode_attributes(&macro_def.attrs),
            children: LazySeq::empty(),
            stability: None,
            deprecation: None,
            ty: None,
            inherent_impls: LazySeq::empty(),
            variances: LazySeq::empty(),
            generics: None,
            predicates: None,
            ast: None,
            mir: None,
        }
    }
/// Serialize the text of exported macros
Serialize the text of exported macros
Serialize the text of exported macros
fn encode_info_for_macro_def(&mut self, macro_def: &hir::MacroDef) -> Entry<'tcx> {
        Entry {
            kind: EntryKind::MacroDef(self.lazy(&MacroDef {
                body: ::syntax::print::pprust::tts_to_string(&macro_def.body)
            })),
            visibility: self.lazy(&ty::Visibility::Public),
            span: self.lazy(&macro_def.span),
            attributes: self.encode_attributes(&macro_def.attrs),
            children: LazySeq::empty(),
            stability: None,
            deprecation: None,
            ty: None,
            inherent_impls: LazySeq::empty(),
            variances: LazySeq::empty(),
            generics: None,
            predicates: None,
            ast: None,
            mir: None,
        }
    }
fn encode_info_for_macro_def ( & mut self , macro_def : & hir :: MacroDef ) -> Entry < ' tcx > { Entry { kind : EntryKind :: MacroDef ( self . lazy ( & MacroDef { body : :: syntax :: print :: pprust :: tts_to_string ( & macro_def . body ) } ) ) , visibility : self . lazy ( & ty :: Visibility :: Public ) , span : self . lazy ( & macro_def . span ) , attributes : self . encode_attributes ( & macro_def . attrs ) , children : LazySeq :: empty ( ) , stability : None , deprecation : None , ty : None , inherent_impls : LazySeq :: empty ( ) , variances : LazySeq :: empty ( ) , generics : None , predicates : None , ast : None , mir : None , } }
Serialize the text of exported macros
Serialize the text of exported macros
&mut self
macro_def
&hir::MacroDef