about summary refs log tree commit diff
path: root/src/librustc_errors
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2019-09-07 11:26:32 -0400
committerMark Rousskov <mark.simulacrum@gmail.com>2019-09-17 09:30:45 -0400
commit2a767eec0cae5aedb197d8fb823df67d93257fbd (patch)
treea3b38cee3136b3a87bbb1d369a2b3d6e976031e6 /src/librustc_errors
parentb304e60131a081930382a6bf327aa11c6432698c (diff)
downloadrust-2a767eec0cae5aedb197d8fb823df67d93257fbd.tar.gz
rust-2a767eec0cae5aedb197d8fb823df67d93257fbd.zip
Remove unused methods from Handler
Diffstat (limited to 'src/librustc_errors')
-rw-r--r--src/librustc_errors/lib.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/librustc_errors/lib.rs b/src/librustc_errors/lib.rs
index b74a6035032..bd57cc41ef3 100644
--- a/src/librustc_errors/lib.rs
+++ b/src/librustc_errors/lib.rs
@@ -612,9 +612,6 @@ impl Handler {
         db.set_span(sp);
         db
     }
-    pub fn span_unimpl<S: Into<MultiSpan>>(&self, sp: S, msg: &str) -> ! {
-        self.span_bug(sp, &format!("unimplemented {}", msg));
-    }
     pub fn failure(&self, msg: &str) {
         DiagnosticBuilder::new(self, FailureNote, msg).emit()
     }
@@ -648,9 +645,6 @@ impl Handler {
         db.emit();
         panic!(ExplicitBug);
     }
-    pub fn unimpl(&self, msg: &str) -> ! {
-        self.bug(&format!("unimplemented {}", msg));
-    }
 
     fn bump_err_count(&self) {
         self.err_count.fetch_add(1, SeqCst);