summary refs log tree commit diff
path: root/src/libsyntax/print
diff options
context:
space:
mode:
authorklutzy <klutzytheklutzy@gmail.com>2013-12-31 23:17:59 +0900
committerklutzy <klutzytheklutzy@gmail.com>2014-01-01 19:10:43 +0900
commitfe10c63326eee6220900dcbb92197ccf26e2025b (patch)
treed19b12845e153c61d0d68267b50e93afc2f4f3a4 /src/libsyntax/print
parenta52cdfdfce58c3fda80d4503a2b198546f96b6c0 (diff)
downloadrust-fe10c63326eee6220900dcbb92197ccf26e2025b.tar.gz
rust-fe10c63326eee6220900dcbb92197ccf26e2025b.zip
syntax::diagnostic: Remove unnecessary traits
This removes trait `handler` and `span_handler`,
and renames `HandlerT` to `Handler`, `CodemapT` to `SpanHandler`.
Diffstat (limited to 'src/libsyntax/print')
-rw-r--r--src/libsyntax/print/pprust.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs
index 7cea2ed3f9c..fa0d2d4765b 100644
--- a/src/libsyntax/print/pprust.rs
+++ b/src/libsyntax/print/pprust.rs
@@ -118,7 +118,7 @@ pub static default_columns: uint = 78u;
 // copy forward.
 pub fn print_crate(cm: @CodeMap,
                    intr: @ident_interner,
-                   span_diagnostic: @mut diagnostic::span_handler,
+                   span_diagnostic: @mut diagnostic::SpanHandler,
                    crate: &ast::Crate,
                    filename: @str,
                    input: @mut io::Reader,