- if !macro_backtrace(it.span).last().map_or(false, |macro_call| {
- matches!(
- cx.tcx.get_diagnostic_name(macro_call.def_id),
- Some(sym::thread_local_macro)
- )
- }) && is_unfrozen(cx, ty)
- && is_value_unfrozen_poly(cx, body_id, ty)
- {
+ if !ignored_macro(cx, it) && is_unfrozen(cx, ty) && is_value_unfrozen_poly(cx, body_id, ty) {