commit | e0ba920b901d8dad8a62393de8f7aff37cb9ec77 | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Sat Oct 06 20:09:08 2018 -0700 |
committer | David Tolnay <dtolnay@gmail.com> | Sat Oct 06 20:19:14 2018 -0700 |
tree | b3155d5742d39e6cc4681ab54b99202bf480f059 | |
parent | 0f1bdc070dbb480af1e45bc779852e48a3d3c86b [diff] [blame] |
Call the right quote from parse_quote on sufficiently new compilers
diff --git a/src/export.rs b/src/export.rs index cc7a222..8e270bd 100644 --- a/src/export.rs +++ b/src/export.rs
@@ -8,6 +8,9 @@ pub use std::option::Option::{None, Some}; pub use std::result::Result::{Err, Ok}; +#[cfg(feature = "printing")] +pub extern crate quote; + pub use proc_macro2::{Span, TokenStream as TokenStream2}; pub use span::IntoSpans;