blob: 148839ecb80786afa18973d7758561fba3c9e004 [file] [log] [blame]
David Tolnay7fb11e72018-09-06 01:02:27 -07001pub use std::clone::Clone;
2pub use std::cmp::{Eq, PartialEq};
3pub use std::convert::From;
4pub use std::default::Default;
5pub use std::fmt::{self, Debug, Formatter};
6pub use std::hash::{Hash, Hasher};
7pub use std::marker::Copy;
8pub use std::option::Option::{None, Some};
David Tolnay18c754c2018-08-21 23:26:58 -04009pub use std::result::Result::{Err, Ok};
10
David Tolnay7fb11e72018-09-06 01:02:27 -070011pub use proc_macro2::{Span, TokenStream as TokenStream2};
12
13pub use span::IntoSpans;
David Tolnay94f06632018-08-31 10:17:17 -070014
David Tolnay18c754c2018-08-21 23:26:58 -040015#[cfg(feature = "proc-macro")]
16pub use proc_macro::TokenStream;
David Tolnay7fb11e72018-09-06 01:02:27 -070017
18#[cfg(feature = "printing")]
19pub use quote::{ToTokens, TokenStreamExt};
20
21#[allow(non_camel_case_types)]
22pub type bool = help::Bool;
23#[allow(non_camel_case_types)]
24pub type str = help::Str;
25
26mod help {
27 pub type Bool = bool;
28 pub type Str = str;
29}