diff --git a/src/librustc_driver/test.rs b/src/librustc_driver/test.rs index c6a0e0feff1..37f7b31b69c 100644 --- a/src/librustc_driver/test.rs +++ b/src/librustc_driver/test.rs @@ -85,7 +85,8 @@ impl CoreEmitter for ExpectErrorEmitter { msg: &str, _: Option<&str>, lvl: Level, - _is_header: bool) { + _is_header: bool, + _show_snippet: bool) { remove_message(self, msg, lvl); } }