We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0db03e6 commit 58f3f7bCopy full SHA for 58f3f7b
src/libproc_macro/lib.rs
@@ -236,6 +236,8 @@ pub mod token_stream {
236
///
237
/// Unquoting is done with `$`, and works by taking the single next ident as the unquoted term.
238
/// To quote `$` itself, use `$$`.
239
+///
240
+/// This is a dummy macro, the actual implementation is in quote::Quoter
241
#[unstable(feature = "proc_macro", issue = "38356")]
242
#[macro_export]
243
macro_rules! quote { () => {} }
src/libproc_macro/quote.rs
@@ -21,6 +21,9 @@ use syntax::parse::token;
21
use syntax::symbol::Symbol;
22
use syntax::tokenstream;
23
24
+/// This is the actual quote!() proc macro
25
26
+/// It is manually loaded in CStore::load_macro_untracked
27
pub struct Quoter;
28
29
pub fn unquote<T: Into<TokenStream> + Clone>(tokens: &T) -> TokenStream {
0 commit comments