Rustup to rustc 1.71.0-nightly (473f916d8 2023-05-03)

This commit is contained in:
bjorn3 2023-05-04 10:21:07 +00:00
parent b7decf2899
commit edd0e5df3b
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
[toolchain]
channel = "nightly-2023-04-29"
channel = "nightly-2023-05-04"
components = ["rust-src", "rustc-dev", "llvm-tools-preview"]

View File

@ -325,7 +325,7 @@ fn dep_symbol_lookup_fn(
Linkage::NotLinked | Linkage::IncludedFromDylib => {}
Linkage::Static => {
let name = crate_info.crate_name[&cnum];
let mut err = sess.struct_err(&format!("Can't load static lib {}", name));
let mut err = sess.struct_err(format!("Can't load static lib {}", name));
err.note("rustc_codegen_cranelift can only load dylibs in JIT mode.");
err.emit();
}