Remove macro_use and extern crate in doc tests
diff --git a/src/error.rs b/src/error.rs
index e27a64d..67e3939 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -45,10 +45,9 @@
     /// # Example
     ///
     /// ```
-    /// #[macro_use]
-    /// extern crate syn;
-    ///
-    /// use syn::{Ident, LitStr};
+    /// # extern crate syn;
+    /// #
+    /// use syn::{Ident, LitStr, Token};
     /// use syn::parse::{Error, ParseStream, Result};
     ///
     /// // Parses input that looks like `name = "string"` where the key must be