Skip to content

Commit f162dc3

Browse files
committed
Auto merge of #5646 - flip1995:rustup, r=matthiaskrgr
Rustup r? @phansch changelog: none
2 parents ce86f90 + b3a690f commit f162dc3

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
@@ -71,7 +71,7 @@ fn check_missing_inline_attrs(cx: &LateContext<'_, '_>, attrs: &[ast::Attribute]
7171
fn is_executable(cx: &LateContext<'_, '_>) -> bool {
7272
use rustc_session::config::CrateType;
7373

74-
cx.tcx.sess.crate_types.get().iter().any(|t: &CrateType| match t {
74+
cx.tcx.sess.crate_types().iter().any(|t: &CrateType| match t {
7575
CrateType::Executable => true,
7676
_ => false,
7777
})

0 commit comments

Comments
 (0)