We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7dcabe commit 352587aCopy full SHA for 352587a
src/tools/compiletest/src/runtest.rs
@@ -2470,7 +2470,7 @@ impl<'test> TestCx<'test> {
2470
2471
let mir_dump_dir = self.get_mir_dump_dir();
2472
let _ = fs::remove_dir_all(&mir_dump_dir);
2473
- create_dir_all(mir_dump_dir.as_path()).unwrap();
+ create_dir_all(&mir_dump_dir).unwrap();
2474
let mut dir_opt = "-Zdump-mir-dir=".to_string();
2475
dir_opt.push_str(mir_dump_dir.to_str().unwrap());
2476
debug!("dir_opt: {:?}", dir_opt);
0 commit comments