mirror of https://github.com/rust-lang/rust.git
Rustfmt
This commit is contained in:
parent
8e2394874e
commit
5859b9b65d
|
@ -65,7 +65,7 @@ pub fn trans_mono_item<'a, 'tcx: 'a>(
|
||||||
}
|
}
|
||||||
Instance {
|
Instance {
|
||||||
def: InstanceDef::DropGlue(_, _),
|
def: InstanceDef::DropGlue(_, _),
|
||||||
substs: _
|
substs: _,
|
||||||
} => unimpl!("Unimplemented drop glue instance"),
|
} => unimpl!("Unimplemented drop glue instance"),
|
||||||
inst => unimpl!("Unimplemented instance {:?}", inst),
|
inst => unimpl!("Unimplemented instance {:?}", inst),
|
||||||
},
|
},
|
||||||
|
|
|
@ -346,7 +346,7 @@ impl CodegenBackend for CraneliftCodegenBackend {
|
||||||
for &crate_type in sess.opts.crate_types.iter() {
|
for &crate_type in sess.opts.crate_types.iter() {
|
||||||
match crate_type {
|
match crate_type {
|
||||||
CrateType::Executable => {
|
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 */ => {
|
CrateType::Rlib /* | CrateType::Dylib */ => {
|
||||||
let output_name = out_filename(
|
let output_name = out_filename(
|
||||||
|
|
Loading…
Reference in New Issue