Update more unit test to new API

This commit is contained in:
Oliver Scherer
2019-03-13 14:06:25 +01:00
parent 0421c6049b
commit 0a842e8c7a
2 changed files with 2 additions and 0 deletions

View File

@@ -1926,6 +1926,7 @@ mod tests {
let emitter = errors::emitter::EmitterWriter::new(Box::new(io::sink()),
Some(sm.clone()),
false,
false,
false);
ParseSess {
span_diagnostic: errors::Handler::with_emitter(true, None, Box::new(emitter)),