Function codespan_reporting::term::renderer::hanging_labels
source ยท fn hanging_labels<'labels, 'diagnostic>(
single_labels: &'labels [(LabelStyle, Range<usize>, &'diagnostic str)],
trailing_label: Option<(usize, &'labels (LabelStyle, Range<usize>, &'diagnostic str))>,
) -> impl 'labels + DoubleEndedIterator<Item = &'labels (LabelStyle, Range<usize>, &'diagnostic str)>
Expand description
Return an iterator that yields the labels that require hanging messages rendered underneath them.