Make doc examples compatible with stable
diff --git a/src/generics.rs b/src/generics.rs
index c63cb69..51c6080 100644
--- a/src/generics.rs
+++ b/src/generics.rs
@@ -301,12 +301,13 @@
/// for that type.
///
/// ```
- /// # extern crate proc_macro2;
- /// # extern crate syn;
+ /// # #[macro_use]
/// # extern crate quote;
/// #
+ /// # extern crate proc_macro2;
+ /// # extern crate syn;
+ /// #
/// # use proc_macro2::{Span, Ident};
- /// # use quote::quote;
/// #
/// # fn main() {
/// # let generics: syn::Generics = Default::default();