expand macro invocations in extern {} blocks
This commit is contained in:
@@ -2195,6 +2195,8 @@ pub enum ForeignItemKind {
|
||||
Static(P<Ty>, bool),
|
||||
/// A foreign type
|
||||
Ty,
|
||||
/// A macro invocation
|
||||
Macro(Mac),
|
||||
}
|
||||
|
||||
impl ForeignItemKind {
|
||||
@@ -2203,6 +2205,7 @@ impl ForeignItemKind {
|
||||
ForeignItemKind::Fn(..) => "foreign function",
|
||||
ForeignItemKind::Static(..) => "foreign static item",
|
||||
ForeignItemKind::Ty => "foreign type",
|
||||
ForeignItemKind::Macro(..) => "macro in foreign module",
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user