This commit is contained in:
bjorn3 2018-08-12 18:56:05 +02:00
parent 8e2394874e
commit 5859b9b65d
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ pub fn trans_mono_item<'a, 'tcx: 'a>(
}
Instance {
def: InstanceDef::DropGlue(_, _),
substs: _
substs: _,
} => unimpl!("Unimplemented drop glue instance"),
inst => unimpl!("Unimplemented instance {:?}", inst),
},

View File

@ -346,7 +346,7 @@ impl CodegenBackend for CraneliftCodegenBackend {
for &crate_type in sess.opts.crate_types.iter() {
match crate_type {
CrateType::Executable => {
sess.warn("Rustc codegen cranelift doesn't produce executables, but is a JIT for them");
sess.warn("Rustc codegen cranelift doesn't produce executables, but is a JIT for them");
},
CrateType::Rlib /* | CrateType::Dylib */ => {
let output_name = out_filename(