• Home
  • Raw
  • Download

Lines Matching refs:spans

55     let mut spans = input.into_iter().step_by(2).map(|t| t.span());  in emit()  localVariable
57 spans.next().unwrap(), in emit()
61 spans.next().unwrap(), in emit()
65 emit_error!(spans.next().unwrap(), "emit!(span, single_expr) test"); in emit()
67 spans.next().unwrap().into(), in emit()
76 emit_warning!(spans.next().unwrap(), "emit_warning! test"); in emit()
87 let mut spans = input.into_iter().map(|s| s.span()); in abort_notes() localVariable
88 let span = spans.next().unwrap(); in abort_notes()
89 let span2 = spans.next().unwrap(); in abort_notes()
117 let mut spans = input.into_iter().step_by(2).map(|s| s.span()); in emit_notes() localVariable
118 let span = spans.next().unwrap(); in emit_notes()
119 let span2 = spans.next().unwrap(); in emit_notes()
255 let mut spans = input.into_iter().step_by(2).map(|s| s.span()); in explicit_span_range() localVariable
256 let first = Span::from(spans.next().unwrap()); in explicit_span_range()
257 let last = Span::from(spans.nth(1).unwrap()); in explicit_span_range()
266 let mut spans = input.into_iter().step_by(2).map(|s| s.span()); in children_messages() localVariable
267 diagnostic!(spans.next().unwrap(), Level::Error, "main macro message") in children_messages()
268 .span_error(spans.next().unwrap().into(), "child message".into()) in children_messages()
271 let mut main = syn::Error::new(spans.next().unwrap().into(), "main syn::Error"); in children_messages()
272 let child = syn::Error::new(spans.next().unwrap().into(), "child syn::Error"); in children_messages()