about summary refs log tree commit diff
path: root/src/librustc_errors/lib.rs
diff options
context:
space:
mode:
authorJonathan Turner <jturner@mozilla.com>2016-07-12 15:18:16 -0400
committerJonathan Turner <jturner@mozilla.com>2016-07-14 07:57:46 -0400
commit2f2c3e178325dc1837badcd7573c2c0905fab979 (patch)
tree612638d11f7a89f81c5ed7762b478affcb03c209 /src/librustc_errors/lib.rs
parentf481879d2ae82a6f6ebe33202d4a1cfa8aece5ed (diff)
downloadrust-2f2c3e178325dc1837badcd7573c2c0905fab979.tar.gz
rust-2f2c3e178325dc1837badcd7573c2c0905fab979.zip
DCE and fixing some internal tests
Diffstat (limited to 'src/librustc_errors/lib.rs')
-rw-r--r--src/librustc_errors/lib.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/librustc_errors/lib.rs b/src/librustc_errors/lib.rs
index 33781bed759..d5340e66ff0 100644
--- a/src/librustc_errors/lib.rs
+++ b/src/librustc_errors/lib.rs
@@ -82,16 +82,6 @@ pub trait CodeMapper {
     fn macro_backtrace(&self, span: Span) -> Vec<MacroBacktrace>;
 }
 
-impl RenderSpan {
-    fn span(&self) -> &MultiSpan {
-        match *self {
-            FullSpan(ref msp) |
-            Suggestion(CodeSuggestion { ref msp, .. }) =>
-                msp
-        }
-    }
-}
-
 impl CodeSuggestion {
     /// Returns the assembled code suggestion.
     pub fn splice_lines(&self, cm: &CodeMapper) -> String {