about summary refs log tree commit diff
path: root/src/librustc/session
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/session
parentb304e60131a081930382a6bf327aa11c6432698c (diff)
downloadrust-2a767eec0cae5aedb197d8fb823df67d93257fbd.tar.gz
rust-2a767eec0cae5aedb197d8fb823df67d93257fbd.zip
Remove unused methods from Handler
Diffstat (limited to 'src/librustc/session')
-rw-r--r--src/librustc/session/mod.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/librustc/session/mod.rs b/src/librustc/session/mod.rs
index afaea540060..a24fed8f21c 100644
--- a/src/librustc/session/mod.rs
+++ b/src/librustc/session/mod.rs
@@ -365,12 +365,6 @@ impl Session {
     pub fn span_note_without_error<S: Into<MultiSpan>>(&self, sp: S, msg: &str) {
         self.diagnostic().span_note_without_error(sp, msg)
     }
-    pub fn span_unimpl<S: Into<MultiSpan>>(&self, sp: S, msg: &str) -> ! {
-        self.diagnostic().span_unimpl(sp, msg)
-    }
-    pub fn unimpl(&self, msg: &str) -> ! {
-        self.diagnostic().unimpl(msg)
-    }
 
     pub fn buffer_lint<S: Into<MultiSpan>>(
         &self,