about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/libsyntax/codemap.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/libsyntax/codemap.rs b/src/libsyntax/codemap.rs
index cb427556e27..80dfb6651b9 100644
--- a/src/libsyntax/codemap.rs
+++ b/src/libsyntax/codemap.rs
@@ -259,11 +259,6 @@ pub impl CodeMap {
         return self.lookup_pos(pos, lookup);
     }
 
-    pub fn lookup_byte_pos(&self, +pos: BytePos) -> Loc<BytePos> {
-        pure fn lookup(pos: FilePos) -> uint { return pos.byte.to_uint(); }
-        return self.lookup_pos(pos, lookup);
-    }
-
     pub fn lookup_char_pos_adj(&self, +pos: CharPos)
         -> {filename: ~str, line: uint, col: CharPos, file: Option<@FileMap>}
     {