about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/librustc_driver/test.rs3
1 files changed, 2 insertions, 1 deletions
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);
     }
 }