syntax: ast_map: use borrowed references into the AST.
This commit is contained in:
@@ -1308,16 +1308,11 @@ pub enum UnboxedClosureKind {
|
||||
#[deriving(Clone, PartialEq, Eq, Encodable, Decodable, Hash, Show)]
|
||||
pub enum InlinedItem {
|
||||
IIItem(P<Item>),
|
||||
IITraitItem(DefId /* impl id */, InlinedTraitItem),
|
||||
IITraitItem(DefId /* impl id */, TraitItem),
|
||||
IIImplItem(DefId /* impl id */, ImplItem),
|
||||
IIForeign(P<ForeignItem>),
|
||||
}
|
||||
|
||||
#[deriving(Clone, PartialEq, Eq, Encodable, Decodable, Hash, Show)]
|
||||
pub enum InlinedTraitItem {
|
||||
ProvidedInlinedTraitItem(P<Method>),
|
||||
RequiredInlinedTraitItem(P<Method>),
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod test {
|
||||
use serialize::json;
|
||||
|
||||
Reference in New Issue
Block a user