diff --git a/src/base.rs b/src/base.rs index 1c4655a6d0e..f001db4600d 100644 --- a/src/base.rs +++ b/src/base.rs @@ -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), }, diff --git a/src/lib.rs b/src/lib.rs index a9f8035f401..bec98bf5863 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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(