Add an --output option for specifying an error emitter
This commit is contained in:
parent
acfccc515b
commit
fd46c78f8f
12 changed files with 135 additions and 81 deletions
|
@ -43,7 +43,7 @@ pub trait Emitter {
|
|||
/// maximum number of lines we will print for each error; arbitrary.
|
||||
const MAX_LINES: usize = 6;
|
||||
|
||||
#[derive(Clone, Copy)]
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
||||
pub enum ColorConfig {
|
||||
Auto,
|
||||
Always,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue