Rollup merge of #55742 - F001:fix-55718, r=petrochenkov
Avoid panic when matching function call Fix #55718 This bug is introduced by #53751. The original code checked `Def::AssociatedConst(..) | Def::Method(..)` before `pat_ty.no_bound_vars().expect("expected fn type")`. But somehow I exchanged the sequence carelessly. Sorry about that. r? @petrochenkov
Showing
想要评论请 注册 或 登录