summaryrefslogtreecommitdiff
path: root/src/libproc_macro
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2018-10-01 10:42:16 -0700
committerAlex Crichton <alex@alexcrichton.com>2018-10-01 12:15:35 -0700
commitb871293cfdccbac795408a2bfc5110a54416c84d (patch)
tree1c8690ad546450e799d596c149ddbbe2502e46a3 /src/libproc_macro
parentde3d640f59c4fa4a09faf2a8d6b0a812aaa6d6cb (diff)
downloadrust-b871293cfdccbac795408a2bfc5110a54416c84d.tar.gz
The `proc_macro_quote` feature now lives at #54722
Diffstat (limited to 'src/libproc_macro')
-rw-r--r--src/libproc_macro/lib.rs4
-rw-r--r--src/libproc_macro/quote.rs4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/libproc_macro/lib.rs b/src/libproc_macro/lib.rs
index 34a44bd1421..41ef72049e3 100644
--- a/src/libproc_macro/lib.rs
+++ b/src/libproc_macro/lib.rs
@@ -142,7 +142,7 @@ impl fmt::Debug for TokenStream {
}
}
-#[unstable(feature = "proc_macro_quote", issue = "38356")]
+#[unstable(feature = "proc_macro_quote", issue = "54722")]
pub use quote::{quote, quote_span};
/// Creates a token stream containing a single token tree.
@@ -252,7 +252,7 @@ pub mod token_stream {
/// To quote `$` itself, use `$$`.
///
/// This is a dummy macro, the actual implementation is in `quote::quote`.`
-#[unstable(feature = "proc_macro_quote", issue = "38356")]
+#[unstable(feature = "proc_macro_quote", issue = "54722")]
#[macro_export]
macro_rules! quote { () => {} }
diff --git a/src/libproc_macro/quote.rs b/src/libproc_macro/quote.rs
index 7ae7b13a152..0f454a79055 100644
--- a/src/libproc_macro/quote.rs
+++ b/src/libproc_macro/quote.rs
@@ -70,7 +70,7 @@ macro_rules! quote {
/// This is the actual `quote!()` proc macro.
///
/// It is manually loaded in `CStore::load_macro_untracked`.
-#[unstable(feature = "proc_macro_quote", issue = "38356")]
+#[unstable(feature = "proc_macro_quote", issue = "54722")]
pub fn quote(stream: TokenStream) -> TokenStream {
if stream.is_empty() {
return quote!(::TokenStream::new());
@@ -144,7 +144,7 @@ pub fn quote(stream: TokenStream) -> TokenStream {
/// Quote a `Span` into a `TokenStream`.
/// This is needed to implement a custom quoter.
-#[unstable(feature = "proc_macro_quote", issue = "38356")]
+#[unstable(feature = "proc_macro_quote", issue = "54722")]
pub fn quote_span(_: Span) -> TokenStream {
quote!(::Span::def_site())
}