Rename fn_trait_kind_from_{from_lang=>def_id}
to better convey meaning
This commit is contained in:
parent
0e9eee6811
commit
881862ecb7
11 changed files with 14 additions and 14 deletions
|
@ -401,7 +401,7 @@ impl<'tcx> NiceRegionError<'_, 'tcx> {
|
|||
if self_ty.value.is_closure()
|
||||
&& self
|
||||
.tcx()
|
||||
.fn_trait_kind_from_lang_item(expected_trait_ref.value.def_id)
|
||||
.fn_trait_kind_from_def_id(expected_trait_ref.value.def_id)
|
||||
.is_some()
|
||||
{
|
||||
let closure_sig = self_ty.map(|closure| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue