mirror of
https://github.com/servo/servo.git
synced 2025-08-01 19:50:30 +01:00
fix rebase issues
This commit is contained in:
parent
7bc88d541f
commit
d2496a45c3
1 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ use syntax::ext::build::AstBuilder;
|
||||||
use syntax::ext::deriving::generic::*;
|
use syntax::ext::deriving::generic::*;
|
||||||
|
|
||||||
pub fn expand_heap_size(cx: &mut ExtCtxt, span: Span, mitem: &MetaItem,
|
pub fn expand_heap_size(cx: &mut ExtCtxt, span: Span, mitem: &MetaItem,
|
||||||
item: Annotatable, push: &mut FnMut(Annotatable)) {
|
item: &Annotatable, push: &mut FnMut(Annotatable)) {
|
||||||
let trait_def = TraitDef {
|
let trait_def = TraitDef {
|
||||||
span: span,
|
span: span,
|
||||||
attributes: Vec::new(),
|
attributes: Vec::new(),
|
||||||
|
@ -43,7 +43,7 @@ pub fn expand_heap_size(cx: &mut ExtCtxt, span: Span, mitem: &MetaItem,
|
||||||
],
|
],
|
||||||
associated_types: vec![],
|
associated_types: vec![],
|
||||||
};
|
};
|
||||||
trait_def.expand(cx, mitem, &item, push)
|
trait_def.expand(cx, mitem, item, push)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Defines how the implementation for `heap_size_of_children()` is to be generated.
|
/// Defines how the implementation for `heap_size_of_children()` is to be generated.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue