Make doc examples compatible with stable
diff --git a/src/error.rs b/src/error.rs
index 05826c4..712b9b7 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -45,9 +45,10 @@
     /// # Example
     ///
     /// ```
-    /// # extern crate syn;
-    /// #
-    /// use syn::{Ident, LitStr, Token};
+    /// #[macro_use]
+    /// extern crate syn;
+    ///
+    /// use syn::{Ident, LitStr};
     /// use syn::parse::{Error, ParseStream, Result};
     ///
     /// // Parses input that looks like `name = "string"` where the key must be