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:
parent
a52cdfdfce
commit
fe10c63326
16 changed files with 74 additions and 103 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue