aboutsummaryrefslogtreecommitdiffstats
path: root/components/jstraceable_derive/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/jstraceable_derive/lib.rs')
-rw-r--r--components/jstraceable_derive/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/jstraceable_derive/lib.rs b/components/jstraceable_derive/lib.rs
index 571a50b7a1e..f00992b80dc 100644
--- a/components/jstraceable_derive/lib.rs
+++ b/components/jstraceable_derive/lib.rs
@@ -2,12 +2,13 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-extern crate quote;
#[macro_use]
extern crate syn;
#[macro_use]
extern crate synstructure;
+use quote;
+
decl_derive!([JSTraceable] => js_traceable_derive);
fn js_traceable_derive(s: synstructure::Structure) -> quote::Tokens {