Skip to content

Commit 7e5e4c1

Browse files
authored
Merge pull request #3003 from nrc/update
Fix error in `CrateType` in latest Rust
2 parents dde49f3 + 99dcc70 commit 7e5e4c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/missing_inline.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ fn is_executable<'a, 'tcx>(cx: &LateContext<'a, 'tcx>) -> bool {
8787

8888
cx.tcx.sess.crate_types.get().iter().any(|t: &CrateType| {
8989
match t {
90-
CrateType::CrateTypeExecutable => true,
90+
CrateType::Executable => true,
9191
_ => false,
9292
}
9393
})

0 commit comments

Comments
 (0)