Skip to content

Commit 0080f55

Browse files
committed
Fix build
1 parent 9dad9cf commit 0080f55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/driver.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ fn trans_mono_item<'clif, 'tcx, B: Backend + 'static>(
363363
}
364364
}
365365

366-
fn time<R>(sess: &Session, name: &str, f: impl FnOnce() -> R) -> R {
366+
fn time<R>(sess: &Session, name: &'static str, f: impl FnOnce() -> R) -> R {
367367
println!("[{}] start", name);
368368
let before = std::time::Instant::now();
369369
let res = sess.time(name, f);

0 commit comments

Comments
 (0)