diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2023-07-25 10:27:34 +0000 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2023-07-25 13:51:15 +0000 |
| commit | 2b444672e10d1a019c194729b9e4800d39904459 (patch) | |
| tree | 7ff447565fc8c7c9a3a673b974db6b6dc2686066 /compiler/rustc_expand/src | |
| parent | cf9f53c83753e64d4e56fd188fa93ee8b49bf32b (diff) | |
| download | rust-2b444672e10d1a019c194729b9e4800d39904459.tar.gz rust-2b444672e10d1a019c194729b9e4800d39904459.zip | |
Use a builder instead of boolean/option arguments
Diffstat (limited to 'compiler/rustc_expand/src')
| -rw-r--r-- | compiler/rustc_expand/src/tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_expand/src/tests.rs b/compiler/rustc_expand/src/tests.rs index 6490e52955d..aec0a1c6d8e 100644 --- a/compiler/rustc_expand/src/tests.rs +++ b/compiler/rustc_expand/src/tests.rs @@ -161,7 +161,7 @@ fn test_harness(file_text: &str, span_labels: Vec<SpanLabel>, expected_output: & false, TerminalUrl::No, ); - let handler = Handler::with_emitter(true, None, Box::new(emitter), None); + let handler = Handler::with_emitter(Box::new(emitter)); #[allow(rustc::untranslatable_diagnostic)] handler.span_err(msp, "foo"); |
