Toggle span highlighting on -Zteach
This commit is contained in:
parent
871856e831
commit
08287c1e26
8 changed files with 33 additions and 18 deletions
|
|
@ -239,6 +239,7 @@ fn run_test(test: &str, cratename: &str, filename: &FileName, line: usize,
|
|||
));
|
||||
let emitter = errors::emitter::EmitterWriter::new(box Sink(data.clone()),
|
||||
Some(codemap.clone()),
|
||||
false,
|
||||
false);
|
||||
let old = io::set_panic(Some(box Sink(data.clone())));
|
||||
let _bomb = Bomb(data.clone(), old.unwrap_or(box io::stdout()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue