Skip to content

Commit 3c06e6e

Browse files
committed
Rename thread_local_initializer_can_be_made_const to missing_const_for_thread_local
1 parent bd883e2 commit 3c06e6e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

clippy_lints/src/missing_const_for_thread_local.rs

-4
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,7 @@ impl<'tcx> LateLintPass<'tcx> for MissingConstForThreadLocal {
113113
local_defid: rustc_span::def_id::LocalDefId,
114114
) {
115115
let defid = local_defid.to_def_id();
116-
<<<<<<<< HEAD:clippy_lints/src/missing_const_for_thread_local.rs
117116
if self.msrv.meets(msrvs::MISSING_CONST_FOR_THREAD_LOCAL)
118-
========
119-
if self.msrv.meets(msrvs::MISSING_CONST_FOR_THREAD_LOCAL)
120-
>>>>>>>> 7a79fea9b (Rename thread_local_initializer_can_be_made_const to missing_const_for_tl_init):clippy_lints/src/missing_const_for_tl_init.rs
121117
&& is_thread_local_initializer(cx, fn_kind, span).unwrap_or(false)
122118
// Some implementations of `thread_local!` include an initializer fn.
123119
// In the case of a const initializer, the init fn is also const,

0 commit comments

Comments
 (0)