diff --git a/clippy_lints/src/missing_inline.rs b/clippy_lints/src/missing_inline.rs
index e19ec4da67e..e80a0a1d8c3 100644
--- a/clippy_lints/src/missing_inline.rs
+++ b/clippy_lints/src/missing_inline.rs
@@ -87,7 +87,7 @@ fn is_executable<'a, 'tcx>(cx: &LateContext<'a, 'tcx>) -> bool {
 
     cx.tcx.sess.crate_types.get().iter().any(|t: &CrateType| {
         match t {
-            CrateType::CrateTypeExecutable => true,
+            CrateType::Executable => true,
             _ => false,
         }
     })