]> git.lizzy.rs Git - rust.git/commitdiff
The `proc_macro_quote` feature now lives at #54722
authorAlex Crichton <alex@alexcrichton.com>
Mon, 1 Oct 2018 17:42:16 +0000 (10:42 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Mon, 1 Oct 2018 19:15:35 +0000 (12:15 -0700)
src/libproc_macro/lib.rs
src/libproc_macro/quote.rs

index 34a44bd14214865e6017da816916028310da55b3..41ef72049e31fa0cf27da38af730316fdf29c584 100644 (file)
@@ -142,7 +142,7 @@ fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
     }
 }
 
-#[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 @@ fn into_iter(self) -> IntoIter {
 /// 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 { () => {} }
 
index 7ae7b13a15217b2026cd3adfde27e88c598620c7..0f454a79055a050038d8cc8aea9289743c21154b 100644 (file)
@@ -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())
 }