summaryrefslogtreecommitdiffstats
path: root/vendor/syn/src/export.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:20:39 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:20:39 +0000
commit1376c5a617be5c25655d0d7cb63e3beaa5a6e026 (patch)
tree3bb8d61aee02bc7a15eab3f36e3b921afc2075d0 /vendor/syn/src/export.rs
parentReleasing progress-linux version 1.69.0+dfsg1-1~progress7.99u1. (diff)
downloadrustc-1376c5a617be5c25655d0d7cb63e3beaa5a6e026.tar.xz
rustc-1376c5a617be5c25655d0d7cb63e3beaa5a6e026.zip
Merging upstream version 1.70.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/syn/src/export.rs')
-rw-r--r--vendor/syn/src/export.rs13
1 files changed, 12 insertions, 1 deletions
diff --git a/vendor/syn/src/export.rs b/vendor/syn/src/export.rs
index f478d091e..c1c16f9ed 100644
--- a/vendor/syn/src/export.rs
+++ b/vendor/syn/src/export.rs
@@ -1,14 +1,16 @@
pub use std::clone::Clone;
pub use std::cmp::{Eq, PartialEq};
+pub use std::concat;
pub use std::default::Default;
pub use std::fmt::{self, Debug, Formatter};
pub use std::hash::{Hash, Hasher};
pub use std::marker::Copy;
pub use std::option::Option::{None, Some};
pub use std::result::Result::{Err, Ok};
+pub use std::stringify;
#[cfg(feature = "printing")]
-pub extern crate quote;
+pub use quote;
pub use proc_macro2::{Span, TokenStream as TokenStream2};
@@ -17,6 +19,15 @@ pub use crate::group::{parse_braces, parse_brackets, parse_parens};
pub use crate::span::IntoSpans;
+#[cfg(all(feature = "parsing", feature = "printing"))]
+pub use crate::parse_quote::parse as parse_quote;
+
+#[cfg(feature = "parsing")]
+pub use crate::token::parsing::{peek_punct, punct as parse_punct};
+
+#[cfg(feature = "printing")]
+pub use crate::token::printing::punct as print_punct;
+
#[cfg(all(
not(all(target_arch = "wasm32", any(target_os = "unknown", target_os = "wasi"))),
feature = "proc-macro"