diff options
| author | Michael Goulet <michael@errs.io> | 2022-06-08 13:32:26 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-08 13:32:26 -0700 |
| commit | cfc0677992662076f8fa65062a229aaae495f030 (patch) | |
| tree | a7c210ebd89e88cecf3f51f8410eef00ee55b1b0 | |
| parent | 73315270656b7dabfdad06a0496a168080ca26f3 (diff) | |
| parent | bcfced862d7afb20e24f6ee744af5b85f34ff4de (diff) | |
| download | rust-cfc0677992662076f8fa65062a229aaae495f030.tar.gz rust-cfc0677992662076f8fa65062a229aaae495f030.zip | |
Rollup merge of #97894 - ehuss:fix-polonius-compare-mode, r=jackh726
Fix polonius compare mode. This fixes running compiler tests in `--compare-mode=polonius`. The `-Zborrowck=mir` option was removed in #95565. r? `@jackh726`
| -rw-r--r-- | src/tools/compiletest/src/runtest.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs index 49c8248b80d..b758bb9cf67 100644 --- a/src/tools/compiletest/src/runtest.rs +++ b/src/tools/compiletest/src/runtest.rs @@ -1939,7 +1939,7 @@ impl<'test> TestCx<'test> { match self.config.compare_mode { Some(CompareMode::Polonius) => { - rustc.args(&["-Zpolonius", "-Zborrowck=mir"]); + rustc.args(&["-Zpolonius"]); } Some(CompareMode::Chalk) => { rustc.args(&["-Zchalk"]); |
