Searched refs:span (Results 1 – 4 of 4) sorted by relevance
42 ($span:expr => $($tt:tt)*) => {{47 let span = $span; localVariable48 quote_spanned!(@proc tokens span $($tt)*);52 (@proc $v:ident $span:ident) => {};53 (@proc $v:ident $span:ident #$id:ident $($tt:tt)*) => {57 quote_spanned!(@proc $v $span $($tt)*);59 (@proc $v:ident $span:ident #(#$id:ident)* $($tt:tt)*) => {65 quote_spanned!(@proc $v $span $($tt)*);67 (@proc $v:ident $span:ident ( $($inner:tt)* ) $($tt:tt)*) => {69 quote_spanned!(@proc tokens $span $($inner)*);[all …]
8 let mut span = None; in concat() localVariable19 segments.push((value, lit.span())); in concat()26 segments.push((value, ident.span())); in concat()38 span.is_none(), in concat()41 span = Some(sp); in concat()54 TokenTree::Ident(Ident::new(&pasted, span.unwrap_or(group_span))) in concat()61 let span = group.span(); in expand() localVariable70 *token = concat(&stream[1..stream.len() - 1], span); in expand()75 group.set_span(span); in expand()
21 let res = Ident::new(&format!("{a}{b}"), b.span()); in concat_idents()
113 tok.set_span(tt.span()); in replace_self_and_deny_type_defs()