Skip to content

Commit 1dbb249

Browse files
committed
Rustup to rustc 1.77.0-nightly (89e2160 2023-12-27)
1 parent 4c0ad60 commit 1dbb249

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rust-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[toolchain]
2-
channel = "nightly-2023-12-24"
2+
channel = "nightly-2023-12-28"
33
components = ["rust-src", "rustc-dev", "llvm-tools"]

src/driver/jit.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ fn dep_symbol_lookup_fn(
321321
Linkage::NotLinked | Linkage::IncludedFromDylib => {}
322322
Linkage::Static => {
323323
let name = crate_info.crate_name[&cnum];
324-
let mut err = sess.struct_err(format!("Can't load static lib {}", name));
324+
let mut err = sess.dcx().struct_err(format!("Can't load static lib {}", name));
325325
err.note("rustc_codegen_cranelift can only load dylibs in JIT mode.");
326326
err.emit();
327327
}

0 commit comments

Comments
 (0)