Skip to content

Commit cfc0677

Browse files
Rollup merge of rust-lang#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 rust-lang#95565. r? `@jackh726`
2 parents 7331527 + bcfced8 commit cfc0677

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/compiletest/src/runtest.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1939,7 +1939,7 @@ impl<'test> TestCx<'test> {
19391939

19401940
match self.config.compare_mode {
19411941
Some(CompareMode::Polonius) => {
1942-
rustc.args(&["-Zpolonius", "-Zborrowck=mir"]);
1942+
rustc.args(&["-Zpolonius"]);
19431943
}
19441944
Some(CompareMode::Chalk) => {
19451945
rustc.args(&["-Zchalk"]);

0 commit comments

Comments
 (0)