We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4803061 commit dbe5d5cCopy full SHA for dbe5d5c
tests/testsuite/directory.rs
@@ -805,7 +805,7 @@ fn root_dir_diagnostics() {
805
// Crucially, the rustc error message below says `ws_root/...`, i.e.
806
// it is relative to our fake home, not to the workspace root.
807
p.cargo("check")
808
- .arg("-Zroot-dir=.")
+ .arg(format!("-Zroot-dir={}", p.root()))
809
.arg("--manifest-path=ws_root/Cargo.toml")
810
.masquerade_as_nightly_cargo(&["-Zroot-dir"])
811
.with_status(101)
0 commit comments