diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2020-01-08 15:07:26 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2020-01-09 21:23:12 +0300 |
| commit | 41318e9a267024fb36162382e26944d235aa71cd (patch) | |
| tree | a654e956795aad6c0624f2829578a9a705129de1 | |
| parent | c404ce689f7692f2c9b1df51803faf88ba11d2e8 (diff) | |
| download | rust-41318e9a267024fb36162382e26944d235aa71cd.tar.gz rust-41318e9a267024fb36162382e26944d235aa71cd.zip | |
compiletest: Do not deduplicate diagnostics in UI tests
| -rw-r--r-- | src/tools/compiletest/src/runtest.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs index 226a12c6734..1912c9ef5ba 100644 --- a/src/tools/compiletest/src/runtest.rs +++ b/src/tools/compiletest/src/runtest.rs @@ -1864,12 +1864,14 @@ impl<'test> TestCx<'test> { rustc.args(&["--error-format", "json"]); } rustc.arg("-Zui-testing"); + rustc.arg("-Zdeduplicate-diagnostics=no"); } Ui => { if !self.props.compile_flags.iter().any(|s| s.starts_with("--error-format")) { rustc.args(&["--error-format", "json"]); } rustc.arg("-Zui-testing"); + rustc.arg("-Zdeduplicate-diagnostics=no"); } MirOpt => { rustc.args(&[ |
