Skip to content

Commit 8b34881

Browse files
committed
Change NLL compare mode to borrowck=migrate.
This commit changes the NLL compare mode to pass `-Z borrowck=migrate` rather than `-Z borrowck=nll` to better test what will be deployed. It does not include the test output updates, as separation of these commits makes reviewing simpler.
1 parent d8db529 commit 8b34881

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
@@ -1810,7 +1810,7 @@ impl<'test> TestCx<'test> {
18101810

18111811
match self.config.compare_mode {
18121812
Some(CompareMode::Nll) => {
1813-
rustc.args(&["-Zborrowck=mir", "-Ztwo-phase-borrows"]);
1813+
rustc.args(&["-Zborrowck=migrate", "-Ztwo-phase-borrows"]);
18141814
}
18151815
Some(CompareMode::Polonius) => {
18161816
rustc.args(&["-Zpolonius", "-Zborrowck=mir", "-Ztwo-phase-borrows"]);

0 commit comments

Comments
 (0)