Normalize variants of CrateType to standard style
This is a clippy-breaking change.
This commit is contained in:
parent
e59e02ef46
commit
2a9344206b
22 changed files with 144 additions and 145 deletions
|
|
@ -63,7 +63,7 @@ impl CodegenBackend for TheBackend {
|
|||
let crate_name = ongoing_codegen.downcast::<Symbol>()
|
||||
.expect("in join_codegen_and_link: ongoing_codegen is not a Symbol");
|
||||
for &crate_type in sess.opts.crate_types.iter() {
|
||||
if crate_type != CrateType::CrateTypeRlib {
|
||||
if crate_type != CrateType::Rlib {
|
||||
sess.fatal(&format!("Crate type is {:?}", crate_type));
|
||||
}
|
||||
let output_name =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue