diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2015-09-02 07:57:55 +0200 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2015-09-02 09:22:17 +0200 |
commit | 40b4348824f96a0f37b39f38a024b6061b36b0a7 (patch) | |
tree | 0c7b91cac0e789c3d53bf11fcda475037f1de0e5 /components/script/dom/macros.rs | |
parent | ba2cb77c26006dc378553d757e88de8ab86c4d5b (diff) | |
download | servo-40b4348824f96a0f37b39f38a024b6061b36b0a7.tar.gz servo-40b4348824f96a0f37b39f38a024b6061b36b0a7.zip |
Upgrade to rustc 1.4.0-dev (cb9323ec0 2015-09-01)
Diffstat (limited to 'components/script/dom/macros.rs')
-rw-r--r-- | components/script/dom/macros.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/components/script/dom/macros.rs b/components/script/dom/macros.rs index bb8adc3dcef..0583fc7edd7 100644 --- a/components/script/dom/macros.rs +++ b/components/script/dom/macros.rs @@ -223,6 +223,14 @@ macro_rules! no_jsmanaged_fields( } } ); + ($ty:ident<$($gen:ident: $bound:ident),+>) => ( + impl<$($gen: $bound),+> $crate::dom::bindings::trace::JSTraceable for $ty<$($gen),+> { + #[inline] + fn trace(&self, _: *mut ::js::jsapi::JSTracer) { + // Do nothing + } + } + ); ); /// These are used to generate a event handler which has no special case. |