Lines Matching defs:quote_spanned
45 //! the syntax. See also the [`quote_spanned!`] macro which is important for
49 //! [`quote_spanned!`]: macro.quote_spanned.html
173 /// A different span can be provided through the [`quote_spanned!`] macro.
175 /// [`quote_spanned!`]: macro.quote_spanned.html
540 /// # use quote::quote_spanned;
549 /// let tokens = quote_spanned!(span=> Box::into_raw(Box::new(#init)));
552 /// let tokens = quote_spanned! {span=>
568 /// `ToTokens` implementation. Tokens that originate within the `quote_spanned!`
575 /// The following procedural macro code uses `quote_spanned!` to assert that a
582 /// # use quote::{quote_spanned, TokenStreamExt, ToTokens};
601 /// let assert_sync = quote_spanned! {ty_span=>
622 macro_rules! quote_spanned {
630 macro_rules! quote_spanned {
1239 $crate::quote_spanned!($span=> $($inner)*),
1248 $crate::quote_spanned!($span=> $($inner)*),
1257 $crate::quote_spanned!($span=> $($inner)*),