We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7decf2 commit edd0e5dCopy full SHA for edd0e5d
rust-toolchain
@@ -1,3 +1,3 @@
1
[toolchain]
2
-channel = "nightly-2023-04-29"
+channel = "nightly-2023-05-04"
3
components = ["rust-src", "rustc-dev", "llvm-tools-preview"]
src/driver/jit.rs
@@ -325,7 +325,7 @@ fn dep_symbol_lookup_fn(
325
Linkage::NotLinked | Linkage::IncludedFromDylib => {}
326
Linkage::Static => {
327
let name = crate_info.crate_name[&cnum];
328
- 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));
329
err.note("rustc_codegen_cranelift can only load dylibs in JIT mode.");
330
err.emit();
331
}
0 commit comments