Lines Matching defs:set_span
575 /// the `set_span` method of each variant.
576 pub fn set_span(&mut self, span: Span) {
578 TokenTree::Group(t) => t.set_span(span),
579 TokenTree::Ident(t) => t.set_span(span),
580 TokenTree::Punct(t) => t.set_span(span),
581 TokenTree::Literal(t) => t.set_span(span),
686 /// `Span::call_site()`. To change the span you can use the `set_span`
752 pub fn set_span(&mut self, span: Span) {
753 self.inner.set_span(span.inner);
803 /// which can be further configured with the `set_span` method below.
832 pub fn set_span(&mut self, span: Span) {
986 pub fn set_span(&mut self, span: Span) {
987 self.inner.set_span(span.inner);
1063 /// span by default, which can be configured with the `set_span` method
1084 /// span by default, which can be configured with the `set_span` method
1230 pub fn set_span(&mut self, span: Span) {
1231 self.inner.set_span(span.inner);