Skip to content

Commit bba5f7f

Browse files
committed
Remove unused pop_span_label method
1 parent 7f7b348 commit bba5f7f

File tree

1 file changed

+0
-4
lines changed
  • compiler/rustc_error_messages/src

1 file changed

+0
-4
lines changed

compiler/rustc_error_messages/src/lib.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -455,10 +455,6 @@ impl MultiSpan {
455455
replacements_occurred
456456
}
457457

458-
pub fn pop_span_label(&mut self) -> Option<(Span, DiagMessage)> {
459-
self.span_labels.pop()
460-
}
461-
462458
/// Returns the strings to highlight. We always ensure that there
463459
/// is an entry for each of the primary spans -- for each primary
464460
/// span `P`, if there is at least one label with span `P`, we return

0 commit comments

Comments
 (0)