Skip to content

Commit b871293

Browse files
committed
The proc_macro_quote feature now lives at rust-lang#54722
1 parent de3d640 commit b871293

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/libproc_macro/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ impl fmt::Debug for TokenStream {
142142
}
143143
}
144144

145-
#[unstable(feature = "proc_macro_quote", issue = "38356")]
145+
#[unstable(feature = "proc_macro_quote", issue = "54722")]
146146
pub use quote::{quote, quote_span};
147147

148148
/// Creates a token stream containing a single token tree.
@@ -252,7 +252,7 @@ pub mod token_stream {
252252
/// To quote `$` itself, use `$$`.
253253
///
254254
/// This is a dummy macro, the actual implementation is in `quote::quote`.`
255-
#[unstable(feature = "proc_macro_quote", issue = "38356")]
255+
#[unstable(feature = "proc_macro_quote", issue = "54722")]
256256
#[macro_export]
257257
macro_rules! quote { () => {} }
258258

src/libproc_macro/quote.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ macro_rules! quote {
7070
/// This is the actual `quote!()` proc macro.
7171
///
7272
/// It is manually loaded in `CStore::load_macro_untracked`.
73-
#[unstable(feature = "proc_macro_quote", issue = "38356")]
73+
#[unstable(feature = "proc_macro_quote", issue = "54722")]
7474
pub fn quote(stream: TokenStream) -> TokenStream {
7575
if stream.is_empty() {
7676
return quote!(::TokenStream::new());
@@ -144,7 +144,7 @@ pub fn quote(stream: TokenStream) -> TokenStream {
144144

145145
/// Quote a `Span` into a `TokenStream`.
146146
/// This is needed to implement a custom quoter.
147-
#[unstable(feature = "proc_macro_quote", issue = "38356")]
147+
#[unstable(feature = "proc_macro_quote", issue = "54722")]
148148
pub fn quote_span(_: Span) -> TokenStream {
149149
quote!(::Span::def_site())
150150
}

0 commit comments

Comments
 (0)