diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2017-02-14 17:35:39 +0100 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2017-02-15 10:24:01 +0100 |
commit | 8bcf36b9a59b4f30fd54fceb85eeb51b1d4dee4f (patch) | |
tree | 16f762e408981f2130095470fc4c7b868f9011c2 /components/plugins/jstraceable.rs | |
parent | 19c645ff68f517929308d1f22728d72231e9a543 (diff) | |
download | servo-8bcf36b9a59b4f30fd54fceb85eeb51b1d4dee4f.tar.gz servo-8bcf36b9a59b4f30fd54fceb85eeb51b1d4dee4f.zip |
Change #[privatize] into #[derive(DenyPublicFields)]
Diffstat (limited to 'components/plugins/jstraceable.rs')
-rw-r--r-- | components/plugins/jstraceable.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/components/plugins/jstraceable.rs b/components/plugins/jstraceable.rs index 498f4006010..9bc9ead6299 100644 --- a/components/plugins/jstraceable.rs +++ b/components/plugins/jstraceable.rs @@ -11,7 +11,6 @@ pub fn expand_dom_struct(cx: &mut ExtCtxt, sp: Span, _: &MetaItem, anno: Annotat if let Annotatable::Item(item) = anno { let mut item2 = (*item).clone(); item2.attrs.push(quote_attr!(cx, #[must_root])); - item2.attrs.push(quote_attr!(cx, #[privatize])); item2.attrs.push(quote_attr!(cx, #[repr(C)])); item2.attrs.push(quote_attr!(cx, #[derive(JSTraceable)])); item2.attrs.push(quote_attr!(cx, #[derive(HeapSizeOf)])); |