mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-05 03:38:29 +00:00
Remove another unnecessary lifetime
This commit is contained in:
parent
746fbad98a
commit
6dc8084788
@ -68,7 +68,7 @@ fn check_missing_inline_attrs(cx: &LateContext<'_, '_>, attrs: &[ast::Attribute]
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn is_executable<'a>(cx: &LateContext<'a, '_>) -> bool {
|
fn is_executable(cx: &LateContext<'_, '_>) -> bool {
|
||||||
use rustc::session::config::CrateType;
|
use rustc::session::config::CrateType;
|
||||||
|
|
||||||
cx.tcx.sess.crate_types.get().iter().any(|t: &CrateType| match t {
|
cx.tcx.sess.crate_types.get().iter().any(|t: &CrateType| match t {
|
||||||
|
Loading…
Reference in New Issue
Block a user