move fn is_item_raw
to TypingEnv
This commit is contained in:
parent
89b6885529
commit
948cec0fad
60 changed files with 181 additions and 168 deletions
|
@ -208,7 +208,7 @@ pub(super) fn deduced_param_attrs<'tcx>(
|
|||
// blow-up in compile times: #113372
|
||||
&& tcx
|
||||
.normalize_erasing_regions(typing_env, local_decl.ty)
|
||||
.is_freeze(tcx, typing_env.param_env),
|
||||
.is_freeze(tcx, typing_env),
|
||||
},
|
||||
),
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue