Move source-output conflict checking into compile_input
This commit is contained in:
parent
c76cdce3d9
commit
b59fbfdbe1
3 changed files with 17 additions and 15 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue