Add an --output option for specifying an error emitter

This commit is contained in:
Nick Cameron
2015-12-31 16:50:06 +13:00
parent acfccc515b
commit fd46c78f8f
12 changed files with 135 additions and 81 deletions

View File

@@ -276,6 +276,7 @@ pub struct Handler {
}
impl Handler {
// TODO remove
pub fn new(color_config: ColorConfig,
registry: Option<diagnostics::registry::Registry>,
can_emit_warnings: bool,