Commit 710c07d
authored
Rollup merge of #148199 - Zalathar:paths, r=jieyouxu
compiletest: Don't modify `testpaths` when creating aux contexts
Modifying `TestCx::testpaths` makes it vastly harder to reason about how compiletest is using test paths, and can be avoided without much trouble by simply passing explicit source-file paths into a small number of auxiliary-aware methods.
---
This PR was originally based on a much larger change that split `TestPaths` into multiple structs and multiple `TestCx` fields (as seen in early revisions of rust-lang/rust#148160), but after further cleanups it turned out that very few tweaks were actually needed to avoid changes to `testpaths`.
r? jieyouxuFile tree
0 file changed
+0
-0
lines changed0 file changed
+0
-0
lines changed
0 commit comments