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