]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_expand/src/tests.rs
Auto merge of #102318 - Amanieu:default_alloc_error_handler, r=oli-obk
[rust.git] / compiler / rustc_expand / src / tests.rs
index 539b04535a0d028f8f45f2cbabfe8828e97802ce..8f3bea29ffd2897ee30178c82969f485fcb9c8b3 100644 (file)
@@ -154,6 +154,7 @@ fn test_harness(file_text: &str, span_labels: Vec<SpanLabel>, expected_output: &
             false,
         );
         let handler = Handler::with_emitter(true, None, Box::new(emitter));
+        #[allow(rustc::untranslatable_diagnostic)]
         handler.span_err(msp, "foo");
 
         assert!(