aboutsummaryrefslogtreecommitdiffstats
path: root/components/plugins/heap_size.rs
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2015-09-02 07:57:55 +0200
committerSimon Sapin <simon.sapin@exyr.org>2015-09-02 09:22:17 +0200
commit40b4348824f96a0f37b39f38a024b6061b36b0a7 (patch)
tree0c7b91cac0e789c3d53bf11fcda475037f1de0e5 /components/plugins/heap_size.rs
parentba2cb77c26006dc378553d757e88de8ab86c4d5b (diff)
downloadservo-40b4348824f96a0f37b39f38a024b6061b36b0a7.tar.gz
servo-40b4348824f96a0f37b39f38a024b6061b36b0a7.zip
Upgrade to rustc 1.4.0-dev (cb9323ec0 2015-09-01)
Diffstat (limited to 'components/plugins/heap_size.rs')
-rw-r--r--components/plugins/heap_size.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/plugins/heap_size.rs b/components/plugins/heap_size.rs
index 3ab1fc814a1..c2dc2d2566c 100644
--- a/components/plugins/heap_size.rs
+++ b/components/plugins/heap_size.rs
@@ -24,6 +24,7 @@ use syntax::ptr::P;
pub fn expand_heap_size(cx: &mut ExtCtxt, span: Span, mitem: &MetaItem,
item: &Annotatable, push: &mut FnMut(Annotatable)) {
let trait_def = TraitDef {
+ is_unsafe: false,
span: span,
attributes: Vec::new(),
path: ty::Path::new(vec!("util", "mem", "HeapSizeOf")),