1
Fork 0

syntax::diagnostic: Remove unnecessary traits

This removes trait `handler` and `span_handler`,
and renames `HandlerT` to `Handler`, `CodemapT` to `SpanHandler`.
This commit is contained in:
klutzy 2013-12-31 23:17:59 +09:00
parent a52cdfdfce
commit fe10c63326
16 changed files with 74 additions and 103 deletions

View file

@ -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,