1 pub use std::clone::Clone; 2 pub use std::cmp::{Eq, PartialEq}; 3 pub use std::convert::From; 4 pub use std::default::Default; 5 pub use std::fmt::{self, Debug, Formatter}; 6 pub use std::hash::{Hash, Hasher}; 7 pub use std::marker::Copy; 8 pub use std::option::Option::{None, Some}; 9 pub use std::result::Result::{Err, Ok}; 10 11 #[cfg(feature = "printing")] 12 pub extern crate quote; 13 14 pub use proc_macro2::{Span, TokenStream as TokenStream2}; 15 16 pub use crate::span::IntoSpans; 17 18 #[cfg(all( 19 not(all(target_arch = "wasm32", any(target_os = "unknown", target_os = "wasi"))), 20 feature = "proc-macro" 21 ))] 22 pub use proc_macro::TokenStream; 23 24 #[cfg(feature = "printing")] 25 pub use quote::{ToTokens, TokenStreamExt}; 26 27 #[allow(non_camel_case_types)] 28 pub type bool = help::Bool; 29 #[allow(non_camel_case_types)] 30 pub type str = help::Str; 31 32 mod help { 33 pub type Bool = bool; 34 pub type Str = str; 35 } 36 37 pub struct private(pub(crate) ()); 38