resolve/metadata: Stop encoding macros as reexports
This commit is contained in:
parent
50568b8ee5
commit
179ce18c5c
6 changed files with 47 additions and 23 deletions
|
@ -845,10 +845,6 @@ impl<'a> NameBinding<'a> {
|
|||
)
|
||||
}
|
||||
|
||||
fn is_macro_def(&self) -> bool {
|
||||
matches!(self.kind, NameBindingKind::Res(Res::Def(DefKind::Macro(..), _), _))
|
||||
}
|
||||
|
||||
fn macro_kind(&self) -> Option<MacroKind> {
|
||||
self.res().macro_kind()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue