Move source-output conflict checking into compile_input

This commit is contained in:
varkor
2017-12-19 01:54:00 +00:00
parent c76cdce3d9
commit b59fbfdbe1
3 changed files with 17 additions and 15 deletions

View File

@@ -263,7 +263,7 @@ fn run_test(test: &str, cratename: &str, filename: &FileName, cfgs: Vec<String>,
}
let res = panic::catch_unwind(AssertUnwindSafe(|| {
driver::compile_input(&sess, &cstore, &input, &out, &None, None, &control)
driver::compile_input(&sess, &cstore, &None, &input, &out, &None, None, &control)
}));
let compile_result = match res {