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
|
@ -147,7 +147,7 @@ fn get_tls_model(sess: &Session) -> llvm::ThreadLocalMode {
|
|||
|
||||
fn is_any_library(sess: &Session) -> bool {
|
||||
sess.crate_types.borrow().iter().any(|ty| {
|
||||
*ty != config::CrateTypeExecutable
|
||||
*ty != config::CrateType::Executable
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue