Skip to content

Commit dc04faa

Browse files
committed
main: fix run_with_ctx! call by taking &rustc_args
1 parent d0c66d5 commit dc04faa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ fn main() -> Result<()> {
3434
let stat = run.stat.clone();
3535
let run = run;
3636

37-
let res = run_with_tcx!(rustc_args, move |tcx| {
37+
let res = run_with_tcx!(&rustc_args, move |tcx| {
3838
let continue_compilation = run.continue_compilation;
3939
let res = match (stat.should_emit(), run.json.should_emit()) {
4040
(true, false) => stat::analyze(stat),

0 commit comments

Comments
 (0)